This is an archive of the discontinued LLVM Phabricator instance.

[NFC][Regalloc] accessors for 'reg' and 'weight'
ClosedPublic

Authored by mtrofin on Sep 15 2020, 2:56 PM.

Details

Summary

Also renamed the fields to follow style guidelines.

Accessors help with readability - weight mutation, in particular,
is easier to follow this way.

Diff Detail

Event Timeline

mtrofin created this revision.Sep 15 2020, 2:56 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 15 2020, 2:56 PM
mtrofin requested review of this revision.Sep 15 2020, 2:56 PM
wmi accepted this revision.Sep 15 2020, 10:43 PM

LGTM

This revision is now accepted and ready to land.Sep 15 2020, 10:43 PM
This revision was landed with ongoing or failed builds.Sep 16 2020, 8:29 AM
This revision was automatically updated to reflect the committed changes.