From 5f1a26ea39995340f43c613666f043d3463e7eec Mon Sep 17 00:00:00 2001 From: Richard Osborne Date: Tue, 15 Mar 2011 15:10:11 +0000 Subject: On the XCore the scavenging slot should be closest to the SP. llvm-svn: 127680 --- llvm/lib/Target/XCore/XCoreRegisterInfo.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'llvm/lib/Target/XCore/XCoreRegisterInfo.cpp') diff --git a/llvm/lib/Target/XCore/XCoreRegisterInfo.cpp b/llvm/lib/Target/XCore/XCoreRegisterInfo.cpp index 56c0879cc8f..0287a513583 100644 --- a/llvm/lib/Target/XCore/XCoreRegisterInfo.cpp +++ b/llvm/lib/Target/XCore/XCoreRegisterInfo.cpp @@ -104,6 +104,11 @@ XCoreRegisterInfo::requiresRegisterScavenging(const MachineFunction &MF) const { return TFI->hasFP(MF); } +bool +XCoreRegisterInfo::useFPForScavengingIndex(const MachineFunction &MF) const { + return false; +} + // This function eliminates ADJCALLSTACKDOWN, // ADJCALLSTACKUP pseudo instructions void XCoreRegisterInfo:: -- cgit v1.2.3