[llvm] r293762 - [LoopPredication] Add a new line to debug output in LoopPredication pass

Artur Pilipenko via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 1 04:25:39 PST 2017


Author: apilipenko
Date: Wed Feb  1 06:25:38 2017
New Revision: 293762

URL: http://llvm.org/viewvc/llvm-project?rev=293762&view=rev
Log:
[LoopPredication] Add a new line to debug output in LoopPredication pass

Modified:
    llvm/trunk/lib/Transforms/Scalar/LoopPredication.cpp

Modified: llvm/trunk/lib/Transforms/Scalar/LoopPredication.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/LoopPredication.cpp?rev=293762&r1=293761&r2=293762&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/LoopPredication.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/LoopPredication.cpp Wed Feb  1 06:25:38 2017
@@ -164,7 +164,7 @@ Optional<Value *> LoopPredication::widen
                             ? IndexAR->getStart()
                             : SE->getSCEVAtScope(IndexAR, L->getParentLoop());
   if (NewLHSS == IndexAR) {
-    DEBUG(dbgs() << "Can't compute NewLHSS!");
+    DEBUG(dbgs() << "Can't compute NewLHSS!\n");
     return None;
   }
 




More information about the llvm-commits mailing list