forked from OSchip/llvm-project
parent
796fd46993
commit
ef8bf39575
|
@ -460,9 +460,7 @@ void SchedulePostRATDList::FixupKills(MachineBasicBlock *MBB) {
|
||||||
for (unsigned i = 0, e = MI->getNumOperands(); i != e; ++i) {
|
for (unsigned i = 0, e = MI->getNumOperands(); i != e; ++i) {
|
||||||
MachineOperand &MO = MI->getOperand(i);
|
MachineOperand &MO = MI->getOperand(i);
|
||||||
if (MO.isRegMask())
|
if (MO.isRegMask())
|
||||||
for (unsigned i = 0, e = TRI->getNumRegs(); i != e; ++i)
|
LiveRegs.clearBitsNotInMask(MO.getRegMask());
|
||||||
if (MO.clobbersPhysReg(i))
|
|
||||||
LiveRegs.reset(i);
|
|
||||||
if (!MO.isReg()) continue;
|
if (!MO.isReg()) continue;
|
||||||
unsigned Reg = MO.getReg();
|
unsigned Reg = MO.getReg();
|
||||||
if (Reg == 0) continue;
|
if (Reg == 0) continue;
|
||||||
|
|
Loading…
Reference in New Issue