ARM stm/ldm instructions require more than one register in the register list.
authorJim Grosbach <grosbach@apple.com>
Thu, 9 Dec 2010 18:31:13 +0000 (18:31 +0000)
committerJim Grosbach <grosbach@apple.com>
Thu, 9 Dec 2010 18:31:13 +0000 (18:31 +0000)
commitc6f9261711ac6666db5d99715531a41c1b1d98ed
treeab0f87e85d9fa3e4ac9927f1ce40e19ffdf32a80
parent0e1fb7afcccb3ade0f159172e32292349f65011e
ARM stm/ldm instructions require more than one register in the register list.
Otherwise, a plain str/ldr should be used instead. Make sure we account for
that in prologue/epilogue code generation.
rdar://8745460

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121391 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMFrameInfo.cpp
lib/Target/ARM/ARMFrameInfo.h
test/CodeGen/ARM/str_pre-2.ll
test/CodeGen/Thumb2/2010-06-21-TailMergeBug.ll