[ARM] For old thumb ISA like v4t, we cannot use PC directly in pop.
authorQuentin Colombet <qcolombet@apple.com>
Mon, 30 Nov 2015 20:37:58 +0000 (20:37 +0000)
committerQuentin Colombet <qcolombet@apple.com>
Mon, 30 Nov 2015 20:37:58 +0000 (20:37 +0000)
commitddaf09c1921d4306b865fae11bf9cfdca6b62731
treef9aa8f12a5f58f4891a09f8b8d95100a01a1e2d5
parent3be8e6a768d24304a43bc915d974c7551ec86248
[ARM] For old thumb ISA like v4t, we cannot use PC directly in pop.

Fix the epilogue emission to account for that.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254325 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/Thumb1FrameLowering.cpp
test/CodeGen/ARM/thumb1_return_sequence.ll