ARM: don't add FrameIndex offset for LDMIA (has no immediate)
authorTim Northover <Tim.Northover@arm.com>
Sat, 20 Apr 2013 19:31:00 +0000 (19:31 +0000)
committerTim Northover <Tim.Northover@arm.com>
Sat, 20 Apr 2013 19:31:00 +0000 (19:31 +0000)
commit335dd0d1a60b317dd5fed7016e6b29af5d509828
tree16d03035e19454e0ac10a3f19a4ad276c9d6102d
parentbf9fba961b4cf8fec7fc5d77cc14580ba5feafa2
ARM: don't add FrameIndex offset for LDMIA (has no immediate)

Previously, when spilling 64-bit paired registers, an LDMIA with both
a FrameIndex and an offset was produced. This kind of instruction
shouldn't exist, and the extra operand was being confused with the
predicate, causing aborts later on.

This removes the invalid 0-offset from the instruction being
produced.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179956 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMBaseInstrInfo.cpp
test/CodeGen/ARM/gpr-paired-spill.ll [new file with mode: 0644]