Even if we don't have 7 bytes of stack space we may need to save and
authorEric Christopher <echristo@apple.com>
Tue, 11 Jan 2011 00:16:04 +0000 (00:16 +0000)
committerEric Christopher <echristo@apple.com>
Tue, 11 Jan 2011 00:16:04 +0000 (00:16 +0000)
commit94bb7b561c16878ae442adeb13dd42140b55d027
tree71a3eeabdbb2b325aa8637db06a50e0994d71ad2
parent4dd312f2334a215cfc7961518823ef36884b4c95
Even if we don't have 7 bytes of stack space we may need to save and
restore the stack pointer from the frame pointer on thumbv6.

Fixes rdar://8819685

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123196 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/Thumb1FrameLowering.cpp
test/CodeGen/ARM/thumb1-varalloc.ll [new file with mode: 0644]