From 24fbef55f9d4c1233e3de29bd236d20afdea536c Mon Sep 17 00:00:00 2001 From: Weiming Zhao Date: Thu, 17 Dec 2015 19:53:41 +0000 Subject: [PATCH] [InstCombine] Adding "\n" to debug output. NFC. Summary: [InstCombine] Adding '\n' to debug output. NFC. Patch by Zhaoshi Zheng Reviewers: apazos, majnemer, weimingz Subscribers: arsenm, llvm-commits Differential Revision: http://reviews.llvm.org/D15403 llvm-svn: 255920 --- llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp b/llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp index 3cdd8f1d069b..da835a192322 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); -- 2.34.1