mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-21 18:24:23 +00:00
Add LiveIntervalUnion print methods, RegAllocGreedy::trySplit debug spew.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121783 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -269,6 +269,14 @@ unsigned RAGreedy::tryReassign(LiveInterval &VirtReg, AllocationOrder &Order) {
|
||||
unsigned RAGreedy::trySplit(LiveInterval &VirtReg, AllocationOrder &Order,
|
||||
SmallVectorImpl<LiveInterval*>&SplitVRegs) {
|
||||
NamedRegionTimer T("Splitter", TimerGroupName, TimePassesIsEnabled);
|
||||
Order.rewind();
|
||||
while (unsigned PhysReg = Order.next()) {
|
||||
DEBUG({
|
||||
query(VirtReg, PhysReg).print(dbgs(), TRI);
|
||||
for (const unsigned *AI = TRI->getAliasSet(PhysReg); *AI; ++AI)
|
||||
query(VirtReg, *AI).print(dbgs(), TRI);
|
||||
});
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user