Fix ARMv4T (Thumb1) epilogue generation
authorArtyom Skrobov <Artyom.Skrobov@arm.com>
Tue, 8 Dec 2015 19:59:01 +0000 (19:59 +0000)
committerArtyom Skrobov <Artyom.Skrobov@arm.com>
Tue, 8 Dec 2015 19:59:01 +0000 (19:59 +0000)
commitd10549743ae65fcc4420a5b07606f97f5cac4bae
tree20a07131b26cd3a433c2703546b073be9ca161e2
parent917e9a38ca5d5fc5cd567fd209864e62d5e641ad
Fix ARMv4T (Thumb1) epilogue generation

Summary:
Before ARMv5T, Thumb1 code could not pop PC, as described at D14357 and D14986;
so we need the special fixup in the epilogue.

Reviewers: jroelofs, qcolombet

Subscribers: aemerson, llvm-commits, rengolin

Differential Revision: http://reviews.llvm.org/D15126

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255047 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/Thumb1FrameLowering.cpp
test/CodeGen/ARM/debug-frame.ll
test/CodeGen/Thumb/large-stack.ll
test/CodeGen/Thumb/pop-special-fixup.ll [deleted file]
test/CodeGen/Thumb/thumb-shrink-wrapping.ll