mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-21 03:00:45 +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…
x
Reference in New Issue
Block a user