llvm-project/mlir/utils/spirv
Lei Zhang 167fb9b4b4 [mlir][spirv] Fix script for availability autogen and refresh ops
Previously we only autogen the availability for ops that are
direct instantiating `SPV_Op` and expected other subclasses of
`SPV_Op` to define aggregated availability for all ops. This is
quite error prone and we can miss capabilities for certain ops.
Also it's arguable to have multiple levels of subclasses and try
to deduplicate too much: having the availability directly in the
op can be quite explicit and clear. A few extra lines of
declarative code is fine.

Reviewed By: mravishankar

Differential Revision: https://reviews.llvm.org/D95236
2021-01-22 13:07:36 -05:00
..
define_enum.sh
define_inst.sh [mlir]][SPIRV] Define OrderedOp and UnorderedOp and add lowerings from Standard. 2021-01-21 07:56:44 -08:00
define_opcodes.sh [mlir][SPIRV] Rename OpSpecConstantOperation -> OpSpecConstantOp 2021-01-21 07:56:43 -08:00
gen_spirv_dialect.py [mlir][spirv] Fix script for availability autogen and refresh ops 2021-01-22 13:07:36 -05:00
report_coverage.sh [MLIR][SPIRV] Extend automation script to generate coverage report. 2020-06-23 11:42:59 -04:00