[Mlir-commits] [mlir] [mlir][vector] Make the in_bounds attribute mandatory (PR #97049)

Mehdi Amini llvmlistbot at llvm.org
Tue Jul 2 12:19:01 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)>,
----------------
joker-eph wrote:

I believe here we'd want a `DefaultValuedAttr<DenseBoolArrayAttr, "{ false, false }">` (if that syntax works?)

https://github.com/llvm/llvm-project/pull/97049


More information about the Mlir-commits mailing list