Teach isCSRestore() that ARM/Thumb2 functions will use post-modify LDR
authorJim Grosbach <grosbach@apple.com>
Fri, 10 Dec 2010 18:41:15 +0000 (18:41 +0000)
committerJim Grosbach <grosbach@apple.com>
Fri, 10 Dec 2010 18:41:15 +0000 (18:41 +0000)
commit568f528c997505706d3d02a31517338ef7dc2d17
treea3769ca3f5b80b45577ccef5a864634fd0fe30fd
parentc9672cb8bea13fcbcbdb1cf26708d831c034c089
Teach isCSRestore() that ARM/Thumb2 functions will use post-modify LDR
instructions to restore a single register rather than an LDM instruction.
rdar://8754999

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121498 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMFrameInfo.cpp