[llvm-commits] [llvm] r83908 - /llvm/trunk/lib/Transforms/Scalar/LICM.cpp
Evan Cheng
evan.cheng at apple.com
Mon Oct 12 15:25:23 PDT 2009
Author: evancheng
Date: Mon Oct 12 17:25:23 2009
New Revision: 83908
URL: http://llvm.org/viewvc/llvm-project?rev=83908&view=rev
Log:
Make licm debug message readable.
Modified:
llvm/trunk/lib/Transforms/Scalar/LICM.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/LICM.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/LICM.cpp?rev=83908&r1=83907&r2=83908&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/LICM.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/LICM.cpp Mon Oct 12 17:25:23 2009
@@ -605,7 +605,8 @@
/// 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.
More information about the llvm-commits
mailing list