[NFC][regalloc] type LiveInterval::reg() as Register
authorMircea Trofin <mtrofin@google.com>
Wed, 16 Sep 2020 15:36:58 +0000 (08:36 -0700)
committerMircea Trofin <mtrofin@google.com>
Wed, 16 Sep 2020 21:11:26 +0000 (14:11 -0700)
commitaa2ba67a8137040b9146d0383c74f0b75ac9683a
treed8b6d1e1853ea0ff47e4c7ebeb69a0c9782cb0b0
parent15f0ad2fa29beaf1dad1548ccb97c2c729ea53cd
[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
llvm/include/llvm/CodeGen/LiveInterval.h