llvm-project/mlir/docs/Dialects
gysit d629645fcd [mlir][OpDSL] Add support for adding canonicalization patterns.
Extend OpDSL with a `defines` method that can set the `hasCanonicalizer` flag for an OpDSL operation. If the flag is set via `defines(Canonicalizer)` the operation needs to implement the `getCanonicalizationPatterns` method. The revision specifies the flag for linalg.fill_tensor and adds an empty `FillTensorOp::getCanonicalizationPatterns` implementation.

This revision is a preparation step to replace linalg.fill by its OpDSL counterpart linalg.fill_tensor. The two are only functionally equivalent if both specify the same canonicalization patterns. The revision is thus a prerequisite for the linalg.fill replacement.

Depends On D120725

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D120726
2022-03-08 15:56:59 +00:00
..
Linalg [mlir][OpDSL] Add support for adding canonicalization patterns. 2022-03-08 15:56:59 +00:00
Affine.md [mlir] Rename the Standard dialect to the Func dialect 2022-03-01 12:10:04 -08:00
Builtin.md [mlir] Make MemRef element type extensible 2021-06-08 11:11:30 +02:00
Func.md [mlir] Rename the Standard dialect to the Func dialect 2022-03-01 12:10:04 -08:00
GPU.md [mlir] Update all dialects docs to use 'dialect-namespace' in the header 2020-03-30 12:25:15 -07:00
LLVM.md [mlir][docs] Fix obvious spelling mistakes in documentation 2021-10-29 09:19:11 +02:00
MemRef.md [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
SPIR-V.md [mlir][SPIRV] Split up StandardToSPIRV now that the Standard dialect is gone 2022-03-02 13:14:36 -08:00
ShapeDialect.md [mlir][doc] Avoid name overlap that confuses copy_docs.sh (NFC) 2021-11-18 09:03:49 -08:00
TOSA.md [mlir][tosa] Remove tosa.identityn operator 2021-05-12 12:46:22 -07:00
Vector.md [mlir][NFC] Remove several dead references to the old standard dialect 2022-03-01 14:02:24 -08:00
_index.md Add brief description of dialects doc section. 2020-12-17 18:37:34 +00:00
emitc.md [mlir] Rename the Standard dialect to the Func dialect 2022-03-01 12:10:04 -08:00