This is an archive of the discontinued LLVM Phabricator instance.

[RegScavenger] Change scavengeRegister to pick registers in allocation order
ClosedPublic

Authored by foad on May 17 2023, 8:47 AM.

Details

Summary

This matches what scavengeRegisterBackwards does.

This is in preparation for converting most uses of scavengeRegister to
scavengeRegisterBackwards, to reduce test case churn when that lands and
to help with bisection if anything goes wrong.

Diff Detail

Event Timeline

foad created this revision.May 17 2023, 8:47 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 17 2023, 8:47 AM
foad requested review of this revision.May 17 2023, 8:47 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 17 2023, 8:47 AM
arsenm accepted this revision.May 19 2023, 11:14 AM
This revision is now accepted and ready to land.May 19 2023, 11:14 AM