mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-08 19:25:47 +00:00
Tweak debug spew.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122132 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -308,13 +308,15 @@ unsigned RAGreedy::trySplit(LiveInterval &VirtReg, AllocationOrder &Order,
|
|||||||
// allocation order.
|
// allocation order.
|
||||||
MachineLoopRange *Loop = 0;
|
MachineLoopRange *Loop = 0;
|
||||||
for (unsigned i = 0, e = SplitLoops.size(); i != e; ++i) {
|
for (unsigned i = 0, e = SplitLoops.size(); i != e; ++i) {
|
||||||
|
DEBUG(dbgs() << " Checking " << *SplitLoops[i]);
|
||||||
if (unsigned PhysReg = findInterferenceFreeReg(SplitLoops[i],
|
if (unsigned PhysReg = findInterferenceFreeReg(SplitLoops[i],
|
||||||
VirtReg, Order)) {
|
VirtReg, Order)) {
|
||||||
(void)PhysReg;
|
(void)PhysReg;
|
||||||
Loop = SplitLoops[i];
|
Loop = SplitLoops[i];
|
||||||
DEBUG(dbgs() << " " << TRI->getName(PhysReg)
|
DEBUG(dbgs() << ": Use %" << TRI->getName(PhysReg) << '\n');
|
||||||
<< " has no interferences in " << *Loop << '\n');
|
|
||||||
break;
|
break;
|
||||||
|
} else {
|
||||||
|
DEBUG(dbgs() << ": Interference.\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user