If we're changing the frame register to a physical register other than SP, we
authorBill Wendling <isanbard@gmail.com>
Wed, 15 Dec 2010 23:32:27 +0000 (23:32 +0000)
committerBill Wendling <isanbard@gmail.com>
Wed, 15 Dec 2010 23:32:27 +0000 (23:32 +0000)
commit7a905a82f7425d1a10b828c8bb3365b2ebc15833
tree226bb45e75cf74fa6915d624624d526fa730ae89
parentdc3813750e4400a02099b047c3ebe5a182585ac3
If we're changing the frame register to a physical register other than SP, we
need to use tLDRi and tSTRi instead of tLDRspi and tSTRspi respectively.

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