[PATCH] D72095: [mlir][spirv] Update SPIR-V enums and ops with availability spec

Lei Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 2 10:28:27 PST 2020


antiagainst created this revision.
antiagainst added reviewers: mravishankar, denis13.
Herald added subscribers: llvm-commits, arpith-jacob, nicolasvasilache, shauheen, burmako, jpienaar, rriddle, mehdi_amini, jfb.
Herald added a project: LLVM.

This commit updates gen_spirv_dialect.py to query the grammar and
generate availability spec for various enum attribute definitions
and all defined ops.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D72095

Files:
  mlir/include/mlir/Dialect/SPIRV/SPIRVBase.td
  mlir/include/mlir/Dialect/SPIRV/SPIRVBitOps.td
  mlir/include/mlir/Dialect/SPIRV/SPIRVGroupOps.td
  mlir/test/Dialect/SPIRV/availability.mlir
  mlir/utils/spirv/gen_spirv_dialect.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72095.235906.patch
Type: text/x-patch
Size: 98058 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200102/97725cef/attachment-0001.bin>


More information about the llvm-commits mailing list