mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Migrate another set of getSubtargetImpl away.
llvm-svn: 219636
This commit is contained in:
parent
55b59727ae
commit
1c880c715a
@ -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
Block a user