mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
Grab the subtarget and subtarget dependent variables off of
MachineFunction rather than TargetMachine. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219671 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -320,14 +320,8 @@ SplitEditor::SplitEditor(SplitAnalysis &sa, LiveIntervals &lis, VirtRegMap &vrm,
|
||||
MachineDominatorTree &mdt,
|
||||
MachineBlockFrequencyInfo &mbfi)
|
||||
: SA(sa), LIS(lis), VRM(vrm), MRI(vrm.getMachineFunction().getRegInfo()),
|
||||
MDT(mdt), TII(*vrm.getMachineFunction()
|
||||
.getTarget()
|
||||
.getSubtargetImpl()
|
||||
->getInstrInfo()),
|
||||
TRI(*vrm.getMachineFunction()
|
||||
.getTarget()
|
||||
.getSubtargetImpl()
|
||||
->getRegisterInfo()),
|
||||
MDT(mdt), TII(*vrm.getMachineFunction().getSubtarget().getInstrInfo()),
|
||||
TRI(*vrm.getMachineFunction().getSubtarget().getRegisterInfo()),
|
||||
MBFI(mbfi), Edit(nullptr), OpenIdx(0), SpillMode(SM_Partition),
|
||||
RegAssign(Allocator) {}
|
||||
|
||||
|
Reference in New Issue
Block a user