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

Andrzej WarzyƄski llvmlistbot at llvm.org
Tue Jul 2 12:56:26 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:

Sure, but that will only work when the underlying vector is rank 2. How could we make it work for arbitrary ranks? 

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


More information about the Mlir-commits mailing list