OSDN Git Service

Clarify debug output.
authorDan Gohman <gohman@apple.com>
Sat, 14 Feb 2009 02:26:50 +0000 (02:26 +0000)
committerDan Gohman <gohman@apple.com>
Sat, 14 Feb 2009 02:26:50 +0000 (02:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64531 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/IndVarSimplify.cpp

index 2385051..b4b6ea3 100644 (file)
@@ -286,7 +286,7 @@ void IndVarSimplify::LinearFunctionTestReplace(Loop *L,
   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);