summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMBaseRegisterInfo.h
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2009-10-27 22:45:39 +0000
committerJim Grosbach <grosbach@apple.com>2009-10-27 22:45:39 +0000
commitc1403a00245372dd1fae9bd80b4b9bb9564cef4d (patch)
tree2d39c6660099e65fc98967776bf8ec77170ad625 /llvm/lib/Target/ARM/ARMBaseRegisterInfo.h
parent2974f63cb573e18ffee4afb70e34488ae3f0966a (diff)
downloadbcm5719-llvm-c1403a00245372dd1fae9bd80b4b9bb9564cef4d.tar.gz
bcm5719-llvm-c1403a00245372dd1fae9bd80b4b9bb9564cef4d.zip
Infrastructure for dynamic stack realignment on ARM. For now, this is off by
default behind a command line option. This will enable better performance for vectors on NEON enabled processors. llvm-svn: 85333
Diffstat (limited to 'llvm/lib/Target/ARM/ARMBaseRegisterInfo.h')
-rw-r--r--llvm/lib/Target/ARM/ARMBaseRegisterInfo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMBaseRegisterInfo.h b/llvm/lib/Target/ARM/ARMBaseRegisterInfo.h
index 750d29f8d6a..029e468d425 100644
--- a/llvm/lib/Target/ARM/ARMBaseRegisterInfo.h
+++ b/llvm/lib/Target/ARM/ARMBaseRegisterInfo.h
@@ -96,6 +96,8 @@ public:
bool hasFP(const MachineFunction &MF) const;
+ bool needsStackRealignment(const MachineFunction &MF) const;
+
bool cannotEliminateFrame(const MachineFunction &MF) const;
void processFunctionBeforeCalleeSavedScan(MachineFunction &MF,
OpenPOWER on IntegriCloud