This is an archive of the discontinued LLVM Phabricator instance.

[PEI][ARM] Switch to backwards frame index elimination
ClosedPublic

Authored by foad on Jul 27 2023, 7:15 AM.

Details

Summary

This adds better support for call frame pseudos that adjust SP in
PEI::replaceFrameIndicesBackward.

Running frame index elimination backwards is preferred because it can
do backwards register scavenging (on targets that require scavenging)
which does not rely on accurate kill flags.

Diff Detail

Event Timeline

foad created this revision.Jul 27 2023, 7:15 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 27 2023, 7:15 AM
foad requested review of this revision.Jul 27 2023, 7:15 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 27 2023, 7:15 AM
arsenm accepted this revision.Jul 27 2023, 8:50 AM
This revision is now accepted and ready to land.Jul 27 2023, 8:50 AM
This revision was landed with ongoing or failed builds.Jul 28 2023, 9:35 AM
This revision was automatically updated to reflect the committed changes.