[PATCH] D65685: Eliminate implicit Register->unsigned conversions in VirtRegMap. NFC

Daniel Sanders via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 7 19:50:09 PDT 2019


dsanders updated this revision to Diff 214057.
dsanders added a comment.

Renamed Register::get() to Register::id(). The reason for not going with value()
is that it sounds too much like accessing the contents of the register.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65685/new/

https://reviews.llvm.org/D65685

Files:
  llvm/include/llvm/CodeGen/LiveIntervals.h
  llvm/include/llvm/CodeGen/LiveRegUnits.h
  llvm/include/llvm/CodeGen/MachineBasicBlock.h
  llvm/include/llvm/CodeGen/MachineInstr.h
  llvm/include/llvm/CodeGen/MachineRegisterInfo.h
  llvm/include/llvm/CodeGen/Register.h
  llvm/include/llvm/CodeGen/TargetRegisterInfo.h
  llvm/include/llvm/CodeGen/VirtRegMap.h
  llvm/include/llvm/MC/MCRegister.h
  llvm/lib/CodeGen/MachineBasicBlock.cpp
  llvm/lib/CodeGen/TargetRegisterInfo.cpp
  llvm/lib/CodeGen/VirtRegMap.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65685.214057.patch
Type: text/x-patch
Size: 24908 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190808/02890960/attachment.bin>


More information about the llvm-commits mailing list