Re-apply LiveInterval index dumping patch, with fixes suggested by Bill

and others.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78003 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
David Greene
2009-08-03 21:55:09 +00:00
parent 11e9657eeb
commit b525766479
8 changed files with 147 additions and 13 deletions

View File

@ -2501,3 +2501,9 @@ LiveRange LiveIntervals::addLiveRangeToEndOfBlock(unsigned reg,
return LR;
}
raw_ostream &
IntervalPrefixPrinter::operator()(raw_ostream &out,
const MachineInstr &instr) const {
return out << liinfo.getInstructionIndex(&instr);
}