mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-08 20:18:57 +00:00
Avoid a hard coded constant.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68603 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c1fa70c35a
commit
8ef2b89131
@ -7800,7 +7800,7 @@ X86TargetLowering::EmitInstrWithCustomInserter(MachineInstr *MI,
|
||||
AM.Disp = Op.getImm();
|
||||
}
|
||||
addFullAddress(BuildMI(BB, dl, TII->get(Opc)), AM)
|
||||
.addReg(MI->getOperand(4).getReg());
|
||||
.addReg(MI->getOperand(X86AddrNumOperands).getReg());
|
||||
|
||||
// Reload the original control word now.
|
||||
addFrameReference(BuildMI(BB, dl, TII->get(X86::FLDCW16m)), CWFrameIdx);
|
||||
|
Loading…
Reference in New Issue
Block a user