Clean up indvar printing
authorChris Lattner <sabre@nondot.org>
Tue, 10 Sep 2002 15:35:39 +0000 (15:35 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 10 Sep 2002 15:35:39 +0000 (15:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3650 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/InductionVariable.cpp

index 5703d6de2c0712135c357f8f026c9ea5e402e2ec..ec6461ccdcb711f8450abda8acb233feca3e1388 100644 (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";
 }