This is an archive of the discontinued LLVM Phabricator instance.

[NFC][regalloc] type LiveInterval::reg() as Register
ClosedPublic

Authored by mtrofin on Sep 16 2020, 8:39 AM.

Details

Summary

We have the Register type which precisely captures the role of this
member. Storage-wise, it's an unsigned.

This helps readability & maintainability.

Diff Detail

Event Timeline

mtrofin created this revision.Sep 16 2020, 8:39 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 16 2020, 8:39 AM
mtrofin requested review of this revision.Sep 16 2020, 8:39 AM
gjain accepted this revision.Sep 16 2020, 1:06 PM
This revision is now accepted and ready to land.Sep 16 2020, 1:06 PM
wmi accepted this revision.Sep 16 2020, 1:49 PM

LGTM.

This revision was automatically updated to reflect the committed changes.