[llvm-commits] CVS: llvm/lib/Analysis/InductionVariable.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Sep 10 10:36:03 PDT 2002
Changes in directory llvm/lib/Analysis:
InductionVariable.cpp updated: 1.18 -> 1.19
---
Log message:
Clean up indvar printing
---
Diffs of the changes:
Index: llvm/lib/Analysis/InductionVariable.cpp
diff -u llvm/lib/Analysis/InductionVariable.cpp:1.18 llvm/lib/Analysis/InductionVariable.cpp:1.19
--- llvm/lib/Analysis/InductionVariable.cpp:1.18 Fri Aug 30 17:51:40 2002
+++ llvm/lib/Analysis/InductionVariable.cpp Tue Sep 10 10:35:39 2002
@@ -160,7 +160,7 @@
case InductionVariable::Linear: o << "Linear "; break;
case InductionVariable::Unknown: o << "Unrecognized "; break;
}
- o << "Induction Variable";
+ o << "Induction Variable: ";
if (Phi) {
WriteAsOperand(o, Phi);
o << ":\n" << Phi;
@@ -169,7 +169,7 @@
}
if (InductionType == InductionVariable::Unknown) return;
- o << " Start ="; WriteAsOperand(o, Start);
- o << " Step =" ; WriteAsOperand(o, Step);
+ o << " Start = "; WriteAsOperand(o, Start);
+ o << " Step = " ; WriteAsOperand(o, Step);
o << "\n";
}
More information about the llvm-commits
mailing list