[Mlir-commits] [mlir] [mlir][vector] Remove unneeded maks restriction (PR #113742)

Jacques Pienaar llvmlistbot at llvm.org
Fri Oct 25 20:18:54 PDT 2024


================
@@ -1819,17 +1819,17 @@ def Vector_MaskedLoadOp :
   Vector_Op<"maskedload">,
     Arguments<(ins Arg<AnyMemRef, "", [MemRead]>:$base,
                Variadic<Index>:$indices,
-               VectorOfRankAndType<[1], [I1]>:$mask,
-               VectorOfRank<[1]>:$pass_thru)>,
-    Results<(outs VectorOfRank<[1]>:$result)> {
+               VectorOf<[I1]>:$mask,
+               AnyVector:$pass_thru)>,
+    Results<(outs AnyVector:$result)> {
----------------
jpienaar wrote:

Ha this let to finding a bug in the generated inference with variadics (well known limitations there)

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


More information about the Mlir-commits mailing list