HomePhabricator

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

Authored by mtrofin on Wed, Sep 16, 8:36 AM.

Description

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

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

This helps readability & maintainability.

Differential Revision: https://reviews.llvm.org/D87768

Details