Fix a regression from r138445. If we're loading from the frame/base pointer
authorChad Rosier <mcrosier@apple.com>
Mon, 10 Oct 2011 01:03:35 +0000 (01:03 +0000)
committerChad Rosier <mcrosier@apple.com>
Mon, 10 Oct 2011 01:03:35 +0000 (01:03 +0000)
commit29b9d7e4ea7521be25bccdb66ecd9c9df5ed8b4b
treec0eaaef1e75d79ee4f5568e096fb228a50662066
parent68226a4d4627804c594d31344901455eb95ec93c
Fix a regression from r138445.  If we're loading from the frame/base pointer
the tADDrSPi instruction can't be used.  Make sure we're updating the opcode
to tADDi3 in all cases.
rdar://10254707

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