[PATCH] D150599: [ARC] Use backwards scavenging in frame index elimination
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 15 11:27:16 PDT 2023
foad created this revision.
foad added a reviewer: marksl.
Herald added subscribers: StephenFan, arphaman, hiraditya.
Herald added a project: All.
foad requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This is preferred because it does not rely on accurate kill flags.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D150599
Files:
llvm/lib/Target/ARC/ARCRegisterInfo.h
Index: llvm/lib/Target/ARC/ARCRegisterInfo.h
===================================================================
--- llvm/lib/Target/ARC/ARCRegisterInfo.h
+++ llvm/lib/Target/ARC/ARCRegisterInfo.h
@@ -39,6 +39,8 @@
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;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150599.522278.patch
Type: text/x-patch
Size: 558 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230515/71938246/attachment.bin>
More information about the llvm-commits
mailing list