Thumb1 epilogue code generation needs to take into account that callee-saved
authorJim Grosbach <grosbach@apple.com>
Sat, 6 Mar 2010 03:28:39 +0000 (03:28 +0000)
committerJim Grosbach <grosbach@apple.com>
Sat, 6 Mar 2010 03:28:39 +0000 (03:28 +0000)
commite68bd742451aae5fcdf280e823d2829e11d184da
treecd4c68226df6d7ddea684dbe7920fb2f8ec02a59
parent75f0d6953a8492ec21f3b82489090a1152f1f516
Thumb1 epilogue code generation needs to take into account that callee-saved
registers may be restored via a pop instruction, not just a tRestore.
This fixes nightly test 471.omnetep for Thumb1.

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