forked from OSchip/llvm-project
Print basic block numbers in live interval debug output. Since the rest of the
debug output is showing machine instructions, the IR-level basic block names aren't very meaningful, and because multiple machine basic blocks may be derived from one IR-level BB, they're also not unique. llvm-svn: 102960
This commit is contained in:
parent
ab09a2cded
commit
c936b56871
|
@ -665,7 +665,8 @@ void LiveIntervals::computeIntervals() {
|
|||
|
||||
// Track the index of the current machine instr.
|
||||
SlotIndex MIIndex = getMBBStartIdx(MBB);
|
||||
DEBUG(dbgs() << MBB->getName() << ":\n");
|
||||
DEBUG(dbgs() << "BB#" << MBB->getNumber()
|
||||
<< ":\t\t# derived from " << MBB->getName() << "\n");
|
||||
|
||||
// Create intervals for live-ins to this BB first.
|
||||
for (MachineBasicBlock::livein_iterator LI = MBB->livein_begin(),
|
||||
|
|
Loading…
Reference in New Issue