bool AnyChanges = false;
MRI = &MF.getRegInfo();
- TRI = MF.getTarget().getSubtargetImpl()->getRegisterInfo();
- TII = MF.getTarget().getSubtargetImpl()->getInstrInfo();
+ TRI = MF.getSubtarget().getRegisterInfo();
+ TII = MF.getSubtarget().getInstrInfo();
// Loop over all instructions in all blocks, from bottom to top, so that it's
// more likely that chains of dependent but ultimately dead instructions will