Debugging output stuff.
authorEvan Cheng <evan.cheng@apple.com>
Thu, 15 Mar 2007 21:19:28 +0000 (21:19 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 15 Mar 2007 21:19:28 +0000 (21:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35117 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/LiveIntervalAnalysis.cpp

index 50f1ab061f85173d54eda83f15d7b89287a803d3..f8713cc1da2c958de6199ecf6ea9fa43b0050291 100644 (file)
@@ -535,7 +535,7 @@ void LiveIntervals::handleVirtualRegisterDef(MachineBasicBlock *mbb,
       if (lv_->RegisterDefIsDead(mi, interval.reg))
         interval.addRange(LiveRange(RedefIndex, RedefIndex+1, 0));
 
-      DOUT << "RESULT: ";
+      DOUT << " RESULT: ";
       interval.print(DOUT, mri_);
 
     } else {
@@ -550,17 +550,17 @@ void LiveIntervals::handleVirtualRegisterDef(MachineBasicBlock *mbb,
         MachineInstr *Killer = vi.Kills[0];
         unsigned Start = getMBBStartIdx(Killer->getParent());
         unsigned End = getUseIndex(getInstructionIndex(Killer))+1;
-        DOUT << "Removing [" << Start << "," << End << "] from: ";
+        DOUT << " Removing [" << Start << "," << End << "] from: ";
         interval.print(DOUT, mri_); DOUT << "\n";
         interval.removeRange(Start, End);
-        DOUT << "RESULT: "; interval.print(DOUT, mri_);
+        DOUT << " RESULT: "; interval.print(DOUT, mri_);
 
         // Replace the interval with one of a NEW value number.  Note that this
         // value number isn't actually defined by an instruction, weird huh? :)
         LiveRange LR(Start, End, interval.getNextValue(~0U, 0));
         DOUT << " replace range with " << LR;
         interval.addRange(LR);
-        DOUT << "RESULT: "; interval.print(DOUT, mri_);
+        DOUT << " RESULT: "; interval.print(DOUT, mri_);
       }
 
       // In the case of PHI elimination, each variable definition is only