projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
647c0ce
)
ARM use the right opcode for FP<->Integer move in fast-isel.
author
Jim Grosbach
<grosbach@apple.com>
Thu, 1 Mar 2012 22:47:09 +0000
(22:47 +0000)
committer
Jim Grosbach
<grosbach@apple.com>
Thu, 1 Mar 2012 22:47:09 +0000
(22:47 +0000)
rdar://
10965031
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151850
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/ARMFastISel.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/ARMFastISel.cpp
b/lib/Target/ARM/ARMFastISel.cpp
index c7622f8ba5e97fdb790d5a9cb5641d289c316fda..818b20286af8c1f35d0703106f0fbc8c38055179 100644
(file)
--- a/
lib/Target/ARM/ARMFastISel.cpp
+++ b/
lib/Target/ARM/ARMFastISel.cpp
@@
-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::VMOV
RS
), MoveReg)
+ TII.get(ARM::VMOV
SR
), 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::VMOV
SR
), MoveReg)
+ TII.get(ARM::VMOV
RS
), MoveReg)
.addReg(SrcReg));
return MoveReg;
}