mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-25 04:39:51 +00:00
ARM use the right opcode for FP<->Integer move in fast-isel.
rdar://10965031 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151850 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
647c0ce48c
commit
e751c0069a
@ -489,7 +489,7 @@ unsigned ARMFastISel::ARMMoveToFPReg(EVT VT, unsigned SrcReg) {
|
||||
|
||||
unsigned MoveReg = createResultReg(TLI.getRegClassFor(VT));
|
||||
AddOptionalDefs(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL,
|
||||
TII.get(ARM::VMOVRS), MoveReg)
|
||||
TII.get(ARM::VMOVSR), MoveReg)
|
||||
.addReg(SrcReg));
|
||||
return MoveReg;
|
||||
}
|
||||
@ -499,7 +499,7 @@ unsigned ARMFastISel::ARMMoveToIntReg(EVT VT, unsigned SrcReg) {
|
||||
|
||||
unsigned MoveReg = createResultReg(TLI.getRegClassFor(VT));
|
||||
AddOptionalDefs(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL,
|
||||
TII.get(ARM::VMOVSR), MoveReg)
|
||||
TII.get(ARM::VMOVRS), MoveReg)
|
||||
.addReg(SrcReg));
|
||||
return MoveReg;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user