mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-02 19:24:25 +00:00
Fix else if -> if in store machinery.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116628 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -838,7 +838,7 @@ bool ARMFastISel::ARMEmitStore(EVT VT, unsigned SrcReg,
|
|||||||
TLI.getRegClassFor(VT), TM.getRegisterInfo());
|
TLI.getRegClassFor(VT), TM.getRegisterInfo());
|
||||||
// The thumb addressing mode has operands swapped from the arm addressing
|
// The thumb addressing mode has operands swapped from the arm addressing
|
||||||
// mode, the floating point one only has two operands.
|
// mode, the floating point one only has two operands.
|
||||||
if (isFloat || isThumb)
|
else if (isFloat || isThumb)
|
||||||
AddOptionalDefs(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL,
|
AddOptionalDefs(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL,
|
||||||
TII.get(StrOpc))
|
TII.get(StrOpc))
|
||||||
.addReg(SrcReg).addReg(Base.Reg).addImm(Offset));
|
.addReg(SrcReg).addReg(Base.Reg).addImm(Offset));
|
||||||
|
Reference in New Issue
Block a user