mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-14 14:24:05 +00:00
Simplify LiveInterval::print().
Don't print out the register number and spill weight, making the TRI argument unnecessary. This allows callers to interpret the reg field. It can currently be a virtual register, a physical register, a spill slot, or a register unit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158031 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -189,7 +189,7 @@ void RegAllocBase::allocatePhysRegs() {
|
||||
// result from splitting.
|
||||
DEBUG(dbgs() << "\nselectOrSplit "
|
||||
<< MRI->getRegClass(VirtReg->reg)->getName()
|
||||
<< ':' << *VirtReg << '\n');
|
||||
<< ':' << PrintReg(VirtReg->reg) << ' ' << *VirtReg << '\n');
|
||||
typedef SmallVector<LiveInterval*, 4> VirtRegVec;
|
||||
VirtRegVec SplitVRegs;
|
||||
unsigned AvailablePhysReg = selectOrSplit(*VirtReg, SplitVRegs);
|
||||
|
Reference in New Issue
Block a user