[PATCH] D146646: [CodeGen] Fix type of MachineRegisterInfo::RegAllocHints. NFC.

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 22 10:20:09 PDT 2023


foad created this revision.
foad added reviewers: arsenm, Joe_Nash.
Herald added subscribers: StephenFan, hiraditya, qcolombet.
Herald added a project: All.
foad requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D146646

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146646.507421.patch
Type: text/x-patch
Size: 5969 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230322/15e05c0d/attachment-0001.bin>


More information about the llvm-commits mailing list