forked from OSchip/llvm-project
parent
370ec10dad
commit
9ec370f748
|
@ -2449,6 +2449,8 @@ bool SimpleRegisterCoalescing::runOnMachineFunction(MachineFunction &fn) {
|
|||
if (!MO.isReg())
|
||||
continue;
|
||||
unsigned Reg = MO.getReg();
|
||||
if (!Reg)
|
||||
continue;
|
||||
if (TargetRegisterInfo::isVirtualRegister(Reg))
|
||||
DeadDefs.push_back(Reg);
|
||||
if (MO.isDead())
|
||||
|
|
Loading…
Reference in New Issue