[llvm-commits] [llvm] r64531 - /llvm/trunk/lib/Transforms/Scalar/IndVarSimplify.cpp

Dan Gohman gohman at apple.com
Fri Feb 13 18:26:50 PST 2009


Author: djg
Date: Fri Feb 13 20:26:50 2009
New Revision: 64531

URL: http://llvm.org/viewvc/llvm-project?rev=64531&view=rev
Log:
Clarify debug output.

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

Modified: llvm/trunk/lib/Transforms/Scalar/IndVarSimplify.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/IndVarSimplify.cpp?rev=64531&r1=64530&r2=64531&view=diff

==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/IndVarSimplify.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/IndVarSimplify.cpp Fri Feb 13 20:26:50 2009
@@ -286,7 +286,7 @@
   DOUT << "INDVARS: Rewriting loop exit condition to:\n"
        << "      LHS:" << *CmpIndVar // includes a newline
        << "       op:\t"
-       << (Opcode == ICmpInst::ICMP_NE ? "!=" : "=") << "\n"
+       << (Opcode == ICmpInst::ICMP_NE ? "!=" : "==") << "\n"
        << "      RHS:\t" << *IterationCount << "\n";
 
   Value *Cond = new ICmpInst(Opcode, CmpIndVar, ExitCnt, "exitcond", BI);





More information about the llvm-commits mailing list