Clean up indvar printing

llvm-svn: 3650
This commit is contained in:
Chris Lattner 2002-09-10 15:35:39 +00:00
parent 9ae0fd2d6c
commit e1751db3ca
1 changed files with 3 additions and 3 deletions

View File

@ -160,7 +160,7 @@ void InductionVariable::print(std::ostream &o) const {
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 @@ void InductionVariable::print(std::ostream &o) const {
}
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";
}