Print physreg names symbolically in dumps

llvm-svn: 29805
This commit is contained in:
Chris Lattner 2006-08-21 23:03:54 +00:00
parent 98a1385764
commit 1d77a0ff88
1 changed files with 3 additions and 2 deletions

View File

@ -735,8 +735,9 @@ void LiveIntervals::joinIntervalsInMachineBB(MachineBasicBlock *MBB) {
assert(SrcInt.reg == SrcReg && DestInt.reg == DestReg &&
"Register mapping is horribly broken!");
DEBUG(std::cerr << "\t\tInspecting " << SrcInt << " and " << DestInt
<< ": ");
DEBUG(std::cerr << "\t\tInspecting "; SrcInt.print(std::cerr, mri_);
std::cerr << " and "; DestInt.print(std::cerr, mri_);
std::cerr << ": ");
// If two intervals contain a single value and are joined by a copy, it
// does not matter if the intervals overlap, they can always be joined.