mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-07 11:33:44 +00:00
Fix a crash in --debug code.
Don't try to print out the live range of a physreg. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159021 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b150930910
commit
04ce06dc4c
@ -1053,8 +1053,12 @@ bool RegisterCoalescer::joinCopy(MachineInstr *CopyMI, bool &Again) {
|
||||
// Update regalloc hint.
|
||||
TRI->UpdateRegAllocHint(CP.getSrcReg(), CP.getDstReg(), *MF);
|
||||
|
||||
DEBUG(dbgs() << "\tJoined. Result = " << PrintReg(CP.getDstReg(), TRI)
|
||||
<< ' ' << LIS->getInterval(CP.getDstReg()) << '\n');
|
||||
DEBUG({
|
||||
dbgs() << "\tJoined. Result = " << PrintReg(CP.getDstReg(), TRI);
|
||||
if (!CP.isPhys())
|
||||
dbgs() << LIS->getInterval(CP.getDstReg());
|
||||
dbgs() << '\n';
|
||||
});
|
||||
|
||||
++numJoins;
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user