This is an archive of the discontinued LLVM Phabricator instance.

[NFC][regalloc] Pull out some AllocationOrder/CostPerUseLimit eviction logic
ClosedPublic

Authored by mtrofin on Dec 20 2021, 8:13 PM.

Details

Diff Detail

Unit TestsFailed

Event Timeline

mtrofin created this revision.Dec 20 2021, 8:13 PM
mtrofin requested review of this revision.Dec 20 2021, 8:13 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 20 2021, 8:13 PM
yundiqian accepted this revision.Jan 3 2022, 12:18 AM
yundiqian added inline comments.
llvm/lib/CodeGen/RegAllocGreedy.cpp
1093

I assume MCRegister::NoRegister == 0?

This revision is now accepted and ready to land.Jan 3 2022, 12:18 AM
mtrofin marked an inline comment as done.Jan 10 2022, 2:33 PM
mtrofin added inline comments.
llvm/lib/CodeGen/RegAllocGreedy.cpp
1093

yes

This revision was landed with ongoing or failed builds.Jan 10 2022, 3:47 PM
This revision was automatically updated to reflect the committed changes.
mtrofin marked an inline comment as done.