Radar 7636153. In the presence of large call frames, it's not sufficient
authorJim Grosbach <grosbach@apple.com>
Fri, 19 Feb 2010 00:16:24 +0000 (00:16 +0000)
committerJim Grosbach <grosbach@apple.com>
Fri, 19 Feb 2010 00:16:24 +0000 (00:16 +0000)
commitcf43e60544041c127bb875fe4cf0d0ae96cd6c78
tree5087fde8ab41d09ef5e24a0a94c26cdb2ecba0f7
parent1b7bf18def8db328bb4efa02c0958ea399e8d8cb
Radar 7636153. In the presence of large call frames, it's not sufficient
for ARM to just check if a function has a FP to determine if it's safe
to simplify the stack adjustment pseudo ops prior to eliminating frame
indices. Allow targets to override the default behavior and does so for ARM
and Thumb2.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96634 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetRegisterInfo.h
lib/CodeGen/PrologEpilogInserter.cpp
lib/Target/ARM/ARMBaseRegisterInfo.cpp
lib/Target/ARM/ARMBaseRegisterInfo.h