We have the Register type which precisely captures the role of this
member. Storage-wise, it's an unsigned.
This helps readability & maintainability.
Paths
| Differential D87768
[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 This helps readability & maintainability.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Sep 16 2020, 1:06 PM Closed by commit rGaa2ba67a8137: [NFC][regalloc] type LiveInterval::reg() as Register (authored by mtrofin). · Explain WhySep 16 2020, 2:11 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 292336 llvm/include/llvm/CodeGen/LiveInterval.h
|