Page MenuHomePhabricator

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

Authored by mtrofin on Wed, Sep 16, 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.Wed, Sep 16, 8:39 AM
Herald added a project: Restricted Project. · View Herald TranscriptWed, Sep 16, 8:39 AM
mtrofin requested review of this revision.Wed, Sep 16, 8:39 AM
gjain accepted this revision.Wed, Sep 16, 1:06 PM
This revision is now accepted and ready to land.Wed, Sep 16, 1:06 PM
wmi accepted this revision.Wed, Sep 16, 1:49 PM

LGTM.

This revision was automatically updated to reflect the committed changes.