[all-commits] [llvm/llvm-project] eac8e2: [CodeGen] Fix type of MachineRegisterInfo::RegAllo...

Jay Foad via All-commits all-commits at lists.llvm.org
Wed Mar 22 11:41:24 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eac8e25ea5ee64ea46f93bba42d842fbde61609c
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2023-03-22 (Wed, 22 Mar 2023)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachineRegisterInfo.h
    M llvm/lib/CodeGen/CalcSpillWeights.cpp
    M llvm/lib/CodeGen/TargetRegisterInfo.cpp
    M llvm/lib/CodeGen/VirtRegMap.cpp
    M llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp
    M llvm/tools/llvm-reduce/deltas/ReduceVirtualRegisters.cpp

  Log Message:
  [CodeGen] Fix type of MachineRegisterInfo::RegAllocHints. NFC.

The first member of the pair should be unsigned instead of Register
because it is the hint type, 0 for simple (target independent) hints and
other values for target dependent hints.

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

More information about the All-commits mailing list