[Mlir-commits] [mlir] [mlir][python] Fix how the mlir variadic Python accessor `_ods_equally_sized_accessor` is used (#101132) (PR #106003)
Maksim Levental
llvmlistbot at llvm.org
Fri Aug 30 06:55:34 PDT 2024
================
@@ -227,4 +227,16 @@ def OptionalOperandOp : TestOp<"optional_operand_op"> {
let results = (outs I32:$result);
}
+def SameVariadicResultSizeOp : TestOp<"same_variadic_result",
+ [SameVariadicResultSize]> {
+ let results = (outs Variadic<AnyType>:$variadic1, AnyType:$non_variadic,
----------------
makslevental wrote:
Sorry to be harassing you but can you add tests that permute the non-variadic - so like maybe
non-var, var, var
var, var, non-var
basically I'm too lazy to think really hard about the arithmetic 😅
https://github.com/llvm/llvm-project/pull/106003
More information about the Mlir-commits
mailing list