[PATCH] D63320: [TableGen] Add "getOperandType" to get operand types from opcode/opidx

Nicolas Guillemot via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 14 10:04:02 PDT 2019


nlguillemot updated this revision to Diff 204802.
nlguillemot added a comment.

- Fix some syntax mistakes.
- Map only records that derive from `Operand` and are not anonymous. This exactly matches the condition used to generate GET_INSTRINFO_OPERAND_TYPES_ENUM.




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

https://reviews.llvm.org/D63320

Files:
  test/TableGen/get-operand-type.td
  utils/TableGen/InstrInfoEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63320.204802.patch
Type: text/x-patch
Size: 4983 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190614/808c05b8/attachment.bin>


More information about the llvm-commits mailing list