aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/XCore
diff options
context:
space:
mode:
authorJay Foad <jay.foad@amd.com>2023-08-03 11:02:56 +0100
committerJay Foad <jay.foad@amd.com>2023-08-03 17:20:32 +0100
commit186b2b48e02a6c49795376560ca5ae139d8d9638 (patch)
tree8f65771160eec2dddf6feed3a414cba9232c1e34 /llvm/lib/Target/XCore
parentdbf798fa646811c03e40c25f9bb3a456267c5a73 (diff)
downloadllvm-186b2b48e02a6c49795376560ca5ae139d8d9638.zip
llvm-186b2b48e02a6c49795376560ca5ae139d8d9638.tar.gz
llvm-186b2b48e02a6c49795376560ca5ae139d8d9638.tar.bz2
[PEI] Switch to backwards frame index elimination by default
Also rename the flag from supportsBackwardScavenger to eliminateFrameIndicesBackwards to reflect what it actually does. X86 is the only target still using forwards frame index elimination. This will not block removing support for forwards register scavenging, because X86 does not use the register scavenger. Differential Revision: https://reviews.llvm.org/D156983
Diffstat (limited to 'llvm/lib/Target/XCore')
-rw-r--r--llvm/lib/Target/XCore/XCoreRegisterInfo.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Target/XCore/XCoreRegisterInfo.h b/llvm/lib/Target/XCore/XCoreRegisterInfo.h
index 8d420ab..b72875c 100644
--- a/llvm/lib/Target/XCore/XCoreRegisterInfo.h
+++ b/llvm/lib/Target/XCore/XCoreRegisterInfo.h
@@ -34,8 +34,6 @@ public:
bool useFPForScavengingIndex(const MachineFunction &MF) const override;
- bool supportsBackwardScavenger() const override { return true; }
-
bool eliminateFrameIndex(MachineBasicBlock::iterator II,
int SPAdj, unsigned FIOperandNum,
RegScavenger *RS = nullptr) const override;