summaryrefslogtreecommitdiff
path: root/lib/Target/XCore/XCoreRegisterInfo.h
diff options
context:
space:
mode:
authorRichard Osborne <richard@xmos.com>2011-03-15 15:10:11 +0000
committerRichard Osborne <richard@xmos.com>2011-03-15 15:10:11 +0000
commit8ae8cf4559fc2e22fc0366f38533204718a9a32d (patch)
treec696a1f49ec6626d3253ebfc774e2e1385e5f1b5 /lib/Target/XCore/XCoreRegisterInfo.h
parent6704415206343549a58396e57eeeda60238d8eb6 (diff)
downloadllvm-8ae8cf4559fc2e22fc0366f38533204718a9a32d.tar.gz
llvm-8ae8cf4559fc2e22fc0366f38533204718a9a32d.tar.bz2
llvm-8ae8cf4559fc2e22fc0366f38533204718a9a32d.tar.xz
On the XCore the scavenging slot should be closest to the SP.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127680 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/XCore/XCoreRegisterInfo.h')
-rw-r--r--lib/Target/XCore/XCoreRegisterInfo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/XCore/XCoreRegisterInfo.h b/lib/Target/XCore/XCoreRegisterInfo.h
index 218575581d..770483b686 100644
--- a/lib/Target/XCore/XCoreRegisterInfo.h
+++ b/lib/Target/XCore/XCoreRegisterInfo.h
@@ -48,6 +48,8 @@ public:
bool requiresRegisterScavenging(const MachineFunction &MF) const;
+ bool useFPForScavengingIndex(const MachineFunction &MF) const;
+
void eliminateCallFramePseudoInstr(MachineFunction &MF,
MachineBasicBlock &MBB,
MachineBasicBlock::iterator I) const;