From: Eric Christopher Date: Fri, 15 Oct 2010 22:32:37 +0000 (+0000) Subject: Fix else if -> if in store machinery. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=315030ca74f7c3cf8bf7f7d29da667ac9fc45bb0;p=oota-llvm.git Fix else if -> if in store machinery. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116628 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/ARM/ARMFastISel.cpp b/lib/Target/ARM/ARMFastISel.cpp index 4650e03242d..901cb579fb1 100644 --- a/lib/Target/ARM/ARMFastISel.cpp +++ b/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));