mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
Migrate another set of getSubtargetImpl away.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219636 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7adaa03f7e
commit
5db6cf4884
@ -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