llvm-project/mlir/test/Dialect
gysit a3655de2c8 [mlir][OpDSL] Add support for basic rank polymorphism.
Previously, OpDSL did not support rank polymorphism, which required a separate implementation of linalg.fill. This revision extends OpDSL to support rank polymorphism for a limited class of operations that access only scalars and tensors of rank zero. At operation instantiation time, it scales these scalar computations to multi-dimensional pointwise computations by replacing the empty indexing maps with identity index maps. The revision does not change the DSL itself, instead it adapts the Python emitter and the YAML generator to generate different indexing maps and and iterators depending on the rank of the first output.

Additionally, the revision introduces a `linalg.fill_tensor` operation that in a future revision shall replace the current handwritten `linalg.fill` operation. `linalg.fill_tensor` is thus only temporarily available and will be renamed to `linalg.fill`.

Reviewed By: nicolasvasilache, stellaraccident

Differential Revision: https://reviews.llvm.org/D119003
2022-02-11 08:27:49 +00:00
..
AMX [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
Affine [mlir][vector][NFC] Use CombiningKindAttr instead of StringAttr 2022-02-10 19:13:29 +09:00
Arithmetic [mlir] Move SelectOp from Standard to Arithmetic 2022-02-02 14:45:12 -08:00
ArmNeon 2d Arm Neon sdot op, and lowering to the intrinsic. 2021-06-10 14:36:39 -07:00
ArmSVE [mlir][RFC] Add scalable dimensions to VectorType 2021-12-15 09:31:37 +00:00
Async [mlir] Split out a new ControlFlow dialect from Standard 2022-02-06 14:51:16 -08:00
Bufferization [mlir] Split out a new ControlFlow dialect from Standard 2022-02-06 14:51:16 -08:00
Builtin [mlir][RFC] Add scalable dimensions to VectorType 2021-12-15 09:31:37 +00:00
Complex [mlir] Move the complex support of std.constant to a new complex.constant operation 2022-01-26 11:52:00 -08:00
ControlFlow [mlir] Split out a new ControlFlow dialect from Standard 2022-02-06 14:51:16 -08:00
DLTI [mlir] support data layout specs on ModuleOp 2021-03-24 15:13:38 +01:00
EmitC [mlir] Fix printing of EmitC attrs/types with escape characters 2021-09-15 18:15:38 +00:00
GPU [mlir][gpu] Add device side async copy operations 2022-02-10 17:25:59 -08:00
LLVMIR [mlir] Convert OpTrait::FunctionLike to FunctionOpInterface 2022-01-18 20:56:53 -08:00
Linalg [mlir][OpDSL] Add support for basic rank polymorphism. 2022-02-11 08:27:49 +00:00
Math [mlir][math] Expand coverage of atan2 expansion 2022-02-08 15:00:39 -08:00
MemRef Revert "[MLIR] Fix fold-memref-subview-ops for affine.load/store" 2022-02-10 10:46:59 +01:00
OpenACC [mlir][NFC] Update OpenACC/OpenMP operations to use `hasVerifier` instead of `verifier` 2022-02-02 13:34:30 -08:00
OpenMP [mlir] Split out a new ControlFlow dialect from Standard 2022-02-06 14:51:16 -08:00
PDL [mlir][pdl] Make `pdl` the default dialect when parsing/printing 2022-01-20 20:22:53 +00:00
PDLInterp Defines new PDLInterp operations needed for multi-root matching in PDL. 2021-11-26 17:59:22 +05:30
Quant [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
SCF [mlir][SCF] Further simplify affine maps during `for-loop-canonicalization` 2022-02-08 02:40:08 +09:00
SPIRV [mlir] Update uses of `parser`/`printer` ODS op field to `hasCustomAssemblyFormat` 2022-02-07 19:03:58 -08:00
Shape Remove restriction on static dimensions in Shape method 2022-02-08 11:20:01 +01:00
SparseTensor [mlir][vector][NFC] Use CombiningKindAttr instead of StringAttr 2022-02-10 19:13:29 +09:00
Standard [mlir] Split out a new ControlFlow dialect from Standard 2022-02-06 14:51:16 -08:00
Tensor [mlir] Split std.splat into tensor.splat and vector.splat 2022-02-02 14:45:12 -08:00
Tosa [mlir][tosa] Add clamp + clamp as single clamp canonicalization 2022-01-21 16:24:43 -08:00
Vector [mlir][vector] Add pattern to drop lead unit dim for Contraction Op 2022-02-10 09:51:07 -08:00
X86Vector [mlir][vector][avx] add AVX dot product to X86Vector dialect with lowering 2021-04-15 15:01:39 -07:00
traits.mlir [mlir] Fix broadcasting check with 1 values 2021-07-11 20:41:33 -07:00