From f815861591d7a6273aaaaa90f28d0c6b92452af6 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Mon, 12 Oct 2009 22:25:23 +0000 Subject: [PATCH] Make licm debug message readable. llvm-svn: 83908 --- llvm/lib/Transforms/Scalar/LICM.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/llvm/lib/Transforms/Scalar/LICM.cpp b/llvm/lib/Transforms/Scalar/LICM.cpp index 1aa317a4c5aa..aac842ddca73 100644 --- a/llvm/lib/Transforms/Scalar/LICM.cpp +++ b/llvm/lib/Transforms/Scalar/LICM.cpp @@ -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.