llvm-project/mlir/test/Dialect
Lei Zhang 47c6ab2b97 [mlir][spirv] Properly support SPIR-V conversion target
This commit defines a new SPIR-V dialect attribute for specifying
a SPIR-V target environment. It is a dictionary attribute containing
the SPIR-V version, supported extension list, and allowed capability
list. A SPIRVConversionTarget subclass is created to take in the
target environment and sets proper dynmaically legal ops by querying
the op availability interface of SPIR-V ops to make sure they are
available in the specified target environment. All existing conversions
targeting SPIR-V is changed to use this SPIRVConversionTarget. It
probes whether the input IR has a `spv.target_env` attribute,
otherwise, it uses the default target environment: SPIR-V 1.0 with
Shader capability and no extra extensions.

Differential Revision: https://reviews.llvm.org/D72256
2020-01-14 19:18:42 -05:00
..
FxpMathOps Convert the Canonicalize and CSE passes to generic Operation Passes. 2019-10-24 15:01:09 -07:00
GPU [mlir] Create a gpu.module operation for the GPU Dialect. 2020-01-14 12:05:47 +01:00
LLVMIR Automated rollback of commit f68ac464d8 2019-12-12 03:48:38 -08:00
Linalg [mlir][Linalg] Update the semantics, verifier and test for Linalg with tensors. 2020-01-14 17:25:28 -05:00
Loops [mlir] Add loop.parallel, loop.reduce and loop.reduce.return operations. 2020-01-14 11:35:41 +01:00
QuantOps Refactor QuantOps TypeParser to use the DialectAsmParser methods directly. 2019-11-01 15:47:03 -07:00
SPIRV [mlir][spirv] Properly support SPIR-V conversion target 2020-01-14 19:18:42 -05:00
VectorOps [mlir] Change the syntax of AffineMapAttr and IntegerSetAttr to avoid conflicts with function types. 2020-01-13 13:24:39 -08:00
CMakeLists.txt [mlir][spirv] Add basic definitions for supporting availability 2019-12-27 16:25:09 -05:00
traits.mlir Simplify broadcastable traits 2019-07-19 11:39:10 -07:00