This is an archive of the discontinued LLVM Phabricator instance.

[NFC][regalloc] Introduce RegAllocGreedy.h
ClosedPublic

Authored by mtrofin on Dec 21 2021, 8:48 AM.

Details

Summary

This was suggested in D114831. It should simplify the relation between
eviction advisor and the allocator, and simplify ingesting more features
tied to the internals of the allocator, in the future.

This change simply pulls out RAGreedy, places it in the llvm namespace,
and cleans up a bit the includes in the new header file.

Diff Detail

Event Timeline

mtrofin created this revision.Dec 21 2021, 8:48 AM
mtrofin requested review of this revision.Dec 21 2021, 8:48 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 21 2021, 8:48 AM
mtrofin updated this revision to Diff 395698.Dec 21 2021, 8:49 AM

new line at the end of file

qcolombet accepted this revision.Dec 23 2021, 10:27 AM
This revision is now accepted and ready to land.Dec 23 2021, 10:27 AM
This revision was landed with ongoing or failed builds.Jan 4 2022, 8:05 AM
This revision was automatically updated to reflect the committed changes.