mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
Reuse the TargetInstrDesc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131625 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2536f801dc
commit
462b6dc6bf
@ -1115,8 +1115,7 @@ materializeFrameBaseRegister(MachineBasicBlock *MBB,
|
||||
MachineRegisterInfo &MRI = MBB->getParent()->getRegInfo();
|
||||
MRI.constrainRegClass(BaseReg, TID.OpInfo[0].getRegClass(this));
|
||||
|
||||
MachineInstrBuilder MIB =
|
||||
BuildMI(*MBB, Ins, DL, TII.get(ADDriOpc), BaseReg)
|
||||
MachineInstrBuilder MIB = BuildMI(*MBB, Ins, DL, TID, BaseReg)
|
||||
.addFrameIndex(FrameIdx).addImm(Offset);
|
||||
|
||||
if (!AFI->isThumb1OnlyFunction())
|
||||
|
Loading…
Reference in New Issue
Block a user