[PATCH] D15403: [InstCombine] Adding "\n" to debug output. NFC.

Z. Zheng via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 17 11:54:55 PST 2015


zzheng updated the summary for this revision.
zzheng added a reviewer: weimingz.
zzheng updated this revision to Diff 43166.
zzheng added a comment.

Rebased.


Repository:
  rL LLVM

http://reviews.llvm.org/D15403

Files:
  lib/Transforms/InstCombine/InstCombineCasts.cpp

Index: lib/Transforms/InstCombine/InstCombineCasts.cpp
===================================================================
--- lib/Transforms/InstCombine/InstCombineCasts.cpp
+++ lib/Transforms/InstCombine/InstCombineCasts.cpp
@@ -859,7 +859,7 @@
 
     // 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 @@
       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);
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15403.43166.patch
Type: text/x-patch
Size: 1010 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151217/795db7b8/attachment.bin>


More information about the llvm-commits mailing list