[Mlir-commits] [mlir] [mlir][vector] Remove unneeded maks restriction (PR #113742)
Diego Caballero
llvmlistbot at llvm.org
Fri Oct 25 15:55:27 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)> {
----------------
dcaballe wrote:
Probably good to add constraints to ensure that pass_thru and result's types match and that the number of elements in mask and one of the other vectors match as well.
https://github.com/llvm/llvm-project/pull/113742
More information about the Mlir-commits
mailing list