Spill R4 if it's going to be used to restore SP from FP.
authorEvan Cheng <evan.cheng@apple.com>
Sun, 16 Jan 2011 05:14:33 +0000 (05:14 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Sun, 16 Jan 2011 05:14:33 +0000 (05:14 +0000)
commitdf55fea807835bc23a2879fbf7f7a8bd53de8256
treed2eda26967896928643a0a01225cff6acadd11e2
parent9922ccf4b483ce37524047879f9b2f9bb73e3ccb
Spill R4 if it's going to be used to restore SP from FP.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123567 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMFrameLowering.cpp
test/CodeGen/Thumb/2011-EpilogueBug.ll [new file with mode: 0644]