115,116c115
< MachineFunction::iterator &mbbi,
< unsigned regB, unsigned regBIdx, unsigned Dist);
---
> MachineFunction::iterator &mbbi, unsigned Dist);
733c732
< static bool isSafeToDelete(MachineInstr *MI, unsigned Reg,
---
> static bool isSafeToDelete(MachineInstr *MI,
748c747
< if (MO.isUse() && MO.getReg() != Reg && MO.isKill())
---
> if (MO.isUse() && MO.isKill())
751d749
<
786d783
< unsigned regB, unsigned regBIdx,
790c787
< if (!isSafeToDelete(mi, regB, TII, Kills))
---
> if (!isSafeToDelete(mi, TII, Kills))
813,816d809
<
< // If regB was marked as a kill, update its Kills list.
< if (mi->getOperand(regBIdx).isKill())
< LV->removeVirtualRegisterKilled(regB, mi);
845c838
< DeleteUnusedInstr(mi, nmi, mbbi, regB, SrcIdx, Dist)) {
---
> DeleteUnusedInstr(mi, nmi, mbbi, Dist)) {
< MachineFunction::iterator &mbbi,
< unsigned regB, unsigned regBIdx, unsigned Dist);
---
> MachineFunction::iterator &mbbi, unsigned Dist);
733c732
< static bool isSafeToDelete(MachineInstr *MI, unsigned Reg,
---
> static bool isSafeToDelete(MachineInstr *MI,
748c747
< if (MO.isUse() && MO.getReg() != Reg && MO.isKill())
---
> if (MO.isUse() && MO.isKill())
751d749
<
786d783
< unsigned regB, unsigned regBIdx,
790c787
< if (!isSafeToDelete(mi, regB, TII, Kills))
---
> if (!isSafeToDelete(mi, TII, Kills))
813,816d809
<
< // If regB was marked as a kill, update its Kills list.
< if (mi->getOperand(regBIdx).isKill())
< LV->removeVirtualRegisterKilled(regB, mi);
845c838
< DeleteUnusedInstr(mi, nmi, mbbi, regB, SrcIdx, Dist)) {
---
> DeleteUnusedInstr(mi, nmi, mbbi, Dist)) {