Reserve a stack slot if the function adjusts the stack but doesn't
authorJim Grosbach <grosbach@apple.com>
Wed, 4 Aug 2010 22:10:15 +0000 (22:10 +0000)
committerJim Grosbach <grosbach@apple.com>
Wed, 4 Aug 2010 22:10:15 +0000 (22:10 +0000)
commit936ed5424cc55a01cb6afdf687a82b134356ddc8
tree83d58f57cef7518082c2c98dcbdd27acadac3f41
parent7536f72a97ad25c3652fdfe26d392fd78b6ea7b9
Reserve a stack slot if the function adjusts the stack but doesn't
simplify the call frame pseudo instructions. In that situation, the
calculations for estimating the stack size will be way off, leading to
not having an emergency spill slot when we need one. It should be possible
to be more precise about tracking the adjustment values, but not really
necessary for correctness. Upcoming cleanups for PEI in general will
render that moot.

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