diff options
author | Jim Grosbach <grosbach@apple.com> | 2010-02-19 00:16:24 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2010-02-19 00:16:24 +0000 |
commit | cf43e60544041c127bb875fe4cf0d0ae96cd6c78 (patch) | |
tree | 5087fde8ab41d09ef5e24a0a94c26cdb2ecba0f7 /lib/Target/ARM/ARMBaseRegisterInfo.h | |
parent | 1b7bf18def8db328bb4efa02c0958ea399e8d8cb (diff) |
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
Diffstat (limited to 'lib/Target/ARM/ARMBaseRegisterInfo.h')
-rw-r--r-- | lib/Target/ARM/ARMBaseRegisterInfo.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMBaseRegisterInfo.h b/lib/Target/ARM/ARMBaseRegisterInfo.h index 33ba21dcb8..64f6ff1cb3 100644 --- a/lib/Target/ARM/ARMBaseRegisterInfo.h +++ b/lib/Target/ARM/ARMBaseRegisterInfo.h @@ -138,6 +138,7 @@ public: virtual bool requiresFrameIndexScavenging(const MachineFunction &MF) const; virtual bool hasReservedCallFrame(MachineFunction &MF) const; + virtual bool canSimplifyCallFramePseudos(MachineFunction &MF) const; virtual void eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB, |