diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-03-15 21:19:28 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-03-15 21:19:28 +0000 |
commit | 56fdd7af884a35673fb6dd3e01333960922c3ac2 (patch) | |
tree | 4e9bacb97a5f595e4cb33c5a542ffbfea762bd7a /lib/CodeGen/LiveIntervalAnalysis.cpp | |
parent | 5eb77c7674376d99fe7b20909e23036971bc031a (diff) |
Debugging output stuff.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35117 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r-- | lib/CodeGen/LiveIntervalAnalysis.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp index 50f1ab061f..f8713cc1da 100644 --- a/lib/CodeGen/LiveIntervalAnalysis.cpp +++ b/lib/CodeGen/LiveIntervalAnalysis.cpp @@ -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 |