llvm-project/mlir/docs/Dialects
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
..
Affine.md [mlir] Change the syntax of AffineMapAttr and IntegerSetAttr to avoid conflicts with function types. 2020-01-13 13:24:39 -08:00
GPU.md Adjust some MLIR paths and docs 2019-12-24 02:23:01 +00:00
LLVM.md Adjust some MLIR paths and docs 2019-12-24 02:23:01 +00:00
Linalg.md Adjust some MLIR paths and docs 2019-12-24 02:23:01 +00:00
SPIR-V.md [mlir][spirv] Properly support SPIR-V conversion target 2020-01-14 19:18:42 -05:00
Standard.md [mlir] Change the syntax of AffineMapAttr and IntegerSetAttr to avoid conflicts with function types. 2020-01-13 13:24:39 -08:00
Vector.md [MLIR] Fix broken link locations after move to monorepo 2020-01-14 07:15:02 +00:00