[PATCH] D66773: [TableGen] Emit OperandType enums for RegisterOperands/RegisterClasses
Nicolas Guillemot via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 26 16:19:34 PDT 2019
nlguillemot created this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
The OpTypes::OperandType was creating an enum for all records that inherit from
`Operand`, but in reality there are operands for instructions that inherit from
other types too. In particular, RegisterOperand and RegisterClass. This
commit adds those types to the list of operand types that are tracked by
the OperandType enum.
Repository:
rL LLVM
https://reviews.llvm.org/D66773
Files:
test/TableGen/get-operand-type.td
utils/TableGen/InstrInfoEmitter.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66773.217261.patch
Type: text/x-patch
Size: 3689 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190826/57c73563/attachment.bin>
More information about the llvm-commits
mailing list