forked from OSchip/llvm-project
RegAllocFast: Add hint to debug printing
llvm-svn: 356348
This commit is contained in:
parent
e0c1f9e76d
commit
884a18d792
|
@ -566,7 +566,8 @@ void RegAllocFast::allocVirtReg(MachineInstr &MI, LiveReg &LR, unsigned Hint) {
|
|||
|
||||
const TargetRegisterClass &RC = *MRI->getRegClass(VirtReg);
|
||||
LLVM_DEBUG(dbgs() << "Search register for " << printReg(VirtReg)
|
||||
<< " in class " << TRI->getRegClassName(&RC) << '\n');
|
||||
<< " in class " << TRI->getRegClassName(&RC)
|
||||
<< " with hint " << printReg(Hint, TRI) << '\n');
|
||||
|
||||
// Take hint when possible.
|
||||
if (TargetRegisterInfo::isPhysicalRegister(Hint) &&
|
||||
|
|
Loading…
Reference in New Issue