[llvm-commits] [llvm] r115342 - /llvm/trunk/lib/Target/ARM/ARMFastISel.cpp
Eric Christopher
echristo at apple.com
Fri Oct 1 13:46:05 PDT 2010
Author: echristo
Date: Fri Oct 1 15:46:04 2010
New Revision: 115342
URL: http://llvm.org/viewvc/llvm-project?rev=115342&view=rev
Log:
Fix thinko on store instructions. Fixes test_indvars failure.
Modified:
llvm/trunk/lib/Target/ARM/ARMFastISel.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMFastISel.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMFastISel.cpp?rev=115342&r1=115341&r2=115342&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMFastISel.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMFastISel.cpp Fri Oct 1 15:46:04 2010
@@ -718,17 +718,17 @@
// mode, the floating point one only has two operands.
if (isFloat)
AddOptionalDefs(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL,
- TII.get(StrOpc), SrcReg)
- .addReg(DstReg).addImm(Offset));
+ TII.get(StrOpc))
+ .addReg(SrcReg).addReg(DstReg).addImm(Offset));
else if (isThumb)
AddOptionalDefs(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL,
- TII.get(StrOpc), SrcReg)
- .addReg(DstReg).addImm(Offset).addReg(0));
+ TII.get(StrOpc))
+ .addReg(SrcReg).addReg(DstReg).addImm(Offset).addReg(0));
else
AddOptionalDefs(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL,
- TII.get(StrOpc), SrcReg)
- .addReg(DstReg).addReg(0).addImm(Offset));
+ TII.get(StrOpc))
+ .addReg(SrcReg).addReg(DstReg).addReg(0).addImm(Offset));
return true;
}
More information about the llvm-commits
mailing list