Make licm debug message readable.
authorEvan Cheng <evan.cheng@apple.com>
Mon, 12 Oct 2009 22:25:23 +0000 (22:25 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Mon, 12 Oct 2009 22:25:23 +0000 (22:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83908 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/LICM.cpp

index 1aa317a4c5aa0062e3ac0c6523d435ef14948598..aac842ddca73707bd363573fff742aa72c5d235f 100644 (file)
@@ -605,7 +605,8 @@ void LICM::sink(Instruction &I) {
 /// that is safe to hoist, this instruction is called to do the dirty work.
 ///
 void LICM::hoist(Instruction &I) {
-  DEBUG(errs() << "LICM hoisting to " << Preheader->getName() << ": " << I);
+  DEBUG(errs() << "LICM hoisting to " << Preheader->getName() << ": "
+        << I << "\n");
 
   // Remove the instruction from its current basic block... but don't delete the
   // instruction.