This is an archive of the discontinued LLVM Phabricator instance.

[NFC] Expose isRematerializable and copyHint from CalcSpillWeights
ClosedPublic

Authored by mtrofin on Dec 20 2021, 7:56 PM.

Details

Summary

We need to reuse them for the ML regalloc eviction advisor, as we
'explode' the weight calculation into sub-features.

Diff Detail

Unit TestsFailed

Event Timeline

mtrofin created this revision.Dec 20 2021, 7:56 PM
mtrofin requested review of this revision.Dec 20 2021, 7:56 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 20 2021, 7:56 PM
yundiqian accepted this revision.Dec 20 2021, 9:36 PM
This revision is now accepted and ready to land.Dec 20 2021, 9:36 PM
This revision was landed with ongoing or failed builds.Jan 4 2022, 8:20 AM
This revision was automatically updated to reflect the committed changes.