diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-12-18 03:04:11 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-12-18 03:04:11 +0000 |
commit | 87c6d25c71b028695641642d86d0cf4a3ff22096 (patch) | |
tree | 4d0d60f6f51fb96cfad954788b0a04973d3f339d | |
parent | a68a4fdf37676794ce69624d1fd4e4627c377902 (diff) |
Tweak debug spew.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122132 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/RegAllocGreedy.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/CodeGen/RegAllocGreedy.cpp b/lib/CodeGen/RegAllocGreedy.cpp index 50e4546660..9ba67d9c64 100644 --- a/lib/CodeGen/RegAllocGreedy.cpp +++ b/lib/CodeGen/RegAllocGreedy.cpp @@ -308,13 +308,15 @@ unsigned RAGreedy::trySplit(LiveInterval &VirtReg, AllocationOrder &Order, // allocation order. MachineLoopRange *Loop = 0; for (unsigned i = 0, e = SplitLoops.size(); i != e; ++i) { + DEBUG(dbgs() << " Checking " << *SplitLoops[i]); if (unsigned PhysReg = findInterferenceFreeReg(SplitLoops[i], VirtReg, Order)) { (void)PhysReg; Loop = SplitLoops[i]; - DEBUG(dbgs() << " " << TRI->getName(PhysReg) - << " has no interferences in " << *Loop << '\n'); + DEBUG(dbgs() << ": Use %" << TRI->getName(PhysReg) << '\n'); break; + } else { + DEBUG(dbgs() << ": Interference.\n"); } } |