[all-commits] [llvm/llvm-project] d85b84: [NFC][MC] Type uses of MCRegUnitIterator as MCRegi...

Mircea Trofin via All-commits all-commits at lists.llvm.org
Tue Oct 6 12:10:29 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d85b845cb2550216b2a05c5dee451f423a4e4946
      https://github.com/llvm/llvm-project/commit/d85b845cb2550216b2a05c5dee451f423a4e4946
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2020-10-06 (Tue, 06 Oct 2020)

  Changed paths:
    M llvm/include/llvm/CodeGen/LiveIntervals.h
    M llvm/include/llvm/CodeGen/TargetRegisterInfo.h
    M llvm/lib/CodeGen/BreakFalseDeps.cpp
    M llvm/lib/CodeGen/EarlyIfConversion.cpp

  Log Message:
  -----------
  [NFC][MC] Type uses of MCRegUnitIterator as MCRegister

This is one of many subsequent similar changes. Note that we're ok with
the parameter being typed as MCPhysReg, as MCPhysReg -> MCRegister is a
correct conversion; Register -> MCRegister assumes the former is indeed
physical, so we stop relying on the implicit conversion and use the
explicit, value-asserting asMCReg().

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




More information about the All-commits mailing list