From a3e64c17919435da37bfc7f4cc04c70f3c6fcb78 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Fri, 15 Oct 2010 22:32:37 +0000 Subject: [PATCH] Fix else if -> if in store machinery. llvm-svn: 116628 --- llvm/lib/Target/ARM/ARMFastISel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Target/ARM/ARMFastISel.cpp b/llvm/lib/Target/ARM/ARMFastISel.cpp index 4650e03242d5..901cb579fb14 100644 --- a/llvm/lib/Target/ARM/ARMFastISel.cpp +++ b/llvm/lib/Target/ARM/ARMFastISel.cpp @@ -838,7 +838,7 @@ bool ARMFastISel::ARMEmitStore(EVT VT, unsigned SrcReg, 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));