summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine
diff options
context:
space:
mode:
authorWeiming Zhao <weimingz@codeaurora.org>2015-12-17 19:53:41 +0000
committerWeiming Zhao <weimingz@codeaurora.org>2015-12-17 19:53:41 +0000
commit24fbef55f9d4c1233e3de29bd236d20afdea536c (patch)
tree596e75eff588aa21f2b2221ea928d74280106ba7 /llvm/lib/Transforms/InstCombine
parentb1be76389d27c245f82b78bbea69b4c9a7c99024 (diff)
downloadbcm5719-llvm-24fbef55f9d4c1233e3de29bd236d20afdea536c.tar.gz
bcm5719-llvm-24fbef55f9d4c1233e3de29bd236d20afdea536c.zip
[InstCombine] Adding "\n" to debug output. NFC.
Summary: [InstCombine] Adding '\n' to debug output. NFC. Patch by Zhaoshi Zheng <zhaoshiz@codeaurora.org> Reviewers: apazos, majnemer, weimingz Subscribers: arsenm, llvm-commits Differential Revision: http://reviews.llvm.org/D15403 llvm-svn: 255920
Diffstat (limited to 'llvm/lib/Transforms/InstCombine')
-rw-r--r--llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp b/llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
index 3cdd8f1d069..da835a19232 100644
--- a/llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
+++ b/llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
@@ -859,7 +859,7 @@ Instruction *InstCombiner::visitZExt(ZExtInst &CI) {
// Okay, we can transform this! Insert the new expression now.
DEBUG(dbgs() << "ICE: EvaluateInDifferentType converting expression type"
- " to avoid zero extend: " << CI);
+ " to avoid zero extend: " << CI << '\n');
Value *Res = EvaluateInDifferentType(Src, DestTy, false);
assert(Res->getType() == DestTy);
@@ -1148,7 +1148,7 @@ Instruction *InstCombiner::visitSExt(SExtInst &CI) {
canEvaluateSExtd(Src, DestTy)) {
// Okay, we can transform this! Insert the new expression now.
DEBUG(dbgs() << "ICE: EvaluateInDifferentType converting expression type"
- " to avoid sign extend: " << CI);
+ " to avoid sign extend: " << CI << '\n');
Value *Res = EvaluateInDifferentType(Src, DestTy, true);
assert(Res->getType() == DestTy);
OpenPOWER on IntegriCloud