[llvm-commits] [llvm] r116628 - /llvm/trunk/lib/Target/ARM/ARMFastISel.cpp
Eric Christopher
echristo at apple.com
Fri Oct 15 15:32:37 PDT 2010
Author: echristo
Date: Fri Oct 15 17:32:37 2010
New Revision: 116628
URL: http://llvm.org/viewvc/llvm-project?rev=116628&view=rev
Log:
Fix else if -> if in store machinery.
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=116628&r1=116627&r2=116628&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMFastISel.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMFastISel.cpp Fri Oct 15 17:32:37 2010
@@ -838,7 +838,7 @@
TLI.getRegClassFor(VT), TM.getRegisterInfo());
// The thumb addressing mode has operands swapped from the arm addressing
// mode, the floating point one only has two operands.
- if (isFloat || isThumb)
+ else if (isFloat || isThumb)
AddOptionalDefs(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL,
TII.get(StrOpc))
.addReg(SrcReg).addReg(Base.Reg).addImm(Offset));
More information about the llvm-commits
mailing list