[PATCH] D144687: [GlobalISel][NFC] Add MachineInstr::getFirst[N]{Regs,LLTs}() helpers to extract regs & types.

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 24 15:20:59 PST 2023


aemerson updated this revision to Diff 500318.
aemerson retitled this revision from "[GlobalISel][NFC] Add some Get{2,3,4,5}RegsFromMI macros to extract regs & types from MachineInstrs" to "[GlobalISel][NFC] Add MachineInstr::getFirst[N]{Regs,LLTs}() helpers to extract regs & types.".
aemerson edited the summary of this revision.
aemerson added a comment.

Use structured bindings with helpers in `MachineInstr`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D144687

Files:
  llvm/include/llvm/CodeGen/MachineInstr.h
  llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
  llvm/lib/CodeGen/MachineInstr.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144687.500318.patch
Type: text/x-patch
Size: 35506 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230224/e730def0/attachment.bin>


More information about the llvm-commits mailing list