[Mlir-commits] [mlir] [mlir][vector] Make the in_bounds attribute mandatory (PR #97049)
Andrzej WarzyĆski
llvmlistbot at llvm.org
Tue Jul 2 12:03:30 PDT 2024
================
@@ -1363,7 +1363,7 @@ def Vector_TransferReadOp :
AffineMapAttr:$permutation_map,
AnyType:$padding,
Optional<VectorOf<[I1]>>:$mask,
- OptionalAttr<BoolArrayAttr>:$in_bounds)>,
+ BoolArrayAttr:$in_bounds)>,
----------------
banach-space wrote:
It's possible to set the default value to an empty array (`{}`), e.g. :
```mlir
DefaultValuedAttr<BoolArrayAttr, "{}">:$in_bounds
```
Sadly, that's not sufficient.
https://github.com/llvm/llvm-project/pull/97049
More information about the Mlir-commits
mailing list