This is an archive of the discontinued LLVM Phabricator instance.

[PowerPC] Avoid RegScavenger::forward in PPCFrameLowering
ClosedPublic

Authored by foad on May 15 2023, 5:24 AM.

Details

Summary

RegScavenger::backward is preferred because it does not rely on accurate
kill flags.

Diff Detail

Event Timeline

foad created this revision.May 15 2023, 5:24 AM
foad requested review of this revision.May 15 2023, 5:24 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 15 2023, 5:24 AM
foad added inline comments.May 15 2023, 5:28 AM
llvm/lib/Target/PowerPC/PPCFrameLowering.cpp
469–473

This code seems confused to me. I tried to follow (and document) the intent of it, rather than the exact logic here.

arsenm accepted this revision.May 23 2023, 2:22 AM
This revision is now accepted and ready to land.May 23 2023, 2:22 AM
This revision was landed with ongoing or failed builds.May 23 2023, 2:33 AM
This revision was automatically updated to reflect the committed changes.