This is an archive of the discontinued LLVM Phabricator instance.

[PEI] Switch to backwards frame index elimination by default
ClosedPublic

Authored by foad on Aug 3 2023, 3:12 AM.

Details

Summary

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.

Diff Detail