llvm-project/mlir/docs/Dialects
gysit d50571ab07 [mlir][OpDSL] Add default value to index attributes.
Index attributes had no default value, which means the attribute values had to be set on the operation. This revision adds a default parameter to `IndexAttrDef`. After the change, every index attribute has to define a default value. For example, we may define the following strides attribute:
```

```
When using the operation the default stride is used if the strides attribute is not set. The mechanism is implemented using `DefaultValuedAttr`.

Additionally, the revision uses the naming index attribute instead of attribute more consistently, which is a preparation for follow up revisions that will introduce function attributes.

Depends On D119125

Reviewed By: stellaraccident

Differential Revision: https://reviews.llvm.org/D119126
2022-02-14 12:14:12 +00:00
..
Linalg [mlir][OpDSL] Add default value to index attributes. 2022-02-14 12:14:12 +00:00
Affine.md [MLIR][arith] fix references to std.constant in comments 2021-10-14 20:38:47 +00:00
Builtin.md [mlir] Make MemRef element type extensible 2021-06-08 11:11:30 +02: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][NFC] Update SPIRV operations to use `hasVerifier` instead of `verifier` 2022-02-02 13:34:29 -08:00
ShapeDialect.md [mlir][doc] Avoid name overlap that confuses copy_docs.sh (NFC) 2021-11-18 09:03:49 -08:00
Standard.md [MLIR] Create memref dialect and move dialect-specific ops from std. 2021-03-15 11:14:09 +01:00
TOSA.md [mlir][tosa] Remove tosa.identityn operator 2021-05-12 12:46:22 -07:00
Vector.md [mlir][vector][NFC] Split into IR, Transforms and Utils 2022-01-31 19:17:09 +09:00
_index.md Add brief description of dialects doc section. 2020-12-17 18:37:34 +00:00
emitc.md [mlir] Split out a new ControlFlow dialect from Standard 2022-02-06 14:51:16 -08:00