[PATCH] D156983: [PEI] Switch to backwards frame index elimination by default
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 3 03:12:13 PDT 2023
foad created this revision.
foad added reviewers: RKSimon, craig.topper, arsenm.
Herald added subscribers: pmatos, asb, StephenFan, kerbowa, pengfei, arphaman, atanasyan, jrtc27, kbarton, hiraditya, jgravelle-google, sbc100, jvesely, nemanjai, sdardis, dschuff.
Herald added a project: All.
foad requested review of this revision.
Herald added subscribers: llvm-commits, aheejin, wdng.
Herald added a project: LLVM.
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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D156983
Files:
llvm/include/llvm/CodeGen/TargetRegisterInfo.h
llvm/lib/CodeGen/PrologEpilogInserter.cpp
llvm/lib/Target/AMDGPU/SIRegisterInfo.h
llvm/lib/Target/ARC/ARCRegisterInfo.h
llvm/lib/Target/ARM/ARMBaseRegisterInfo.h
llvm/lib/Target/Lanai/LanaiRegisterInfo.h
llvm/lib/Target/Mips/MipsRegisterInfo.h
llvm/lib/Target/PowerPC/PPCRegisterInfo.h
llvm/lib/Target/WebAssembly/WebAssemblyRegisterInfo.h
llvm/lib/Target/X86/X86RegisterInfo.h
llvm/lib/Target/XCore/XCoreRegisterInfo.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156983.546784.patch
Type: text/x-patch
Size: 6685 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230803/1ec2e399/attachment.bin>
More information about the llvm-commits
mailing list