forked from OSchip/llvm-project
Migrate another set of getSubtargetImpl away.
llvm-svn: 219636
This commit is contained in:
parent
1dba54aedc
commit
1c5fce0ebb
|
@ -206,8 +206,8 @@ void VirtRegRewriter::getAnalysisUsage(AnalysisUsage &AU) const {
|
|||
bool VirtRegRewriter::runOnMachineFunction(MachineFunction &fn) {
|
||||
MF = &fn;
|
||||
TM = &MF->getTarget();
|
||||
TRI = TM->getSubtargetImpl()->getRegisterInfo();
|
||||
TII = TM->getSubtargetImpl()->getInstrInfo();
|
||||
TRI = MF->getSubtarget().getRegisterInfo();
|
||||
TII = MF->getSubtarget().getInstrInfo();
|
||||
MRI = &MF->getRegInfo();
|
||||
Indexes = &getAnalysis<SlotIndexes>();
|
||||
LIS = &getAnalysis<LiveIntervals>();
|
||||
|
|
Loading…
Reference in New Issue