[all-commits] [llvm/llvm-project] aa2ba6: [NFC][regalloc] type LiveInterval::reg() as Register

Mircea Trofin via All-commits all-commits at lists.llvm.org
Wed Sep 16 14:11:50 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: aa2ba67a8137040b9146d0383c74f0b75ac9683a
      https://github.com/llvm/llvm-project/commit/aa2ba67a8137040b9146d0383c74f0b75ac9683a
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2020-09-16 (Wed, 16 Sep 2020)

  Changed paths:
    M llvm/include/llvm/CodeGen/LiveInterval.h

  Log Message:
  -----------
  [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




More information about the All-commits mailing list