mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
Clean up indvar printing
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3650 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a690c590dc
commit
74493a4c6e
@ -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";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user