[Mlir-commits] [mlir] [MLIR][TOSA] Enable strict property assembly format (PR #217291)
Luke Hutton
llvmlistbot at llvm.org
Fri Aug 21 03:15:50 PDT 2026
================
@@ -109,7 +109,11 @@ def Tosa_AvgPool2dOp : Tosa_InferShapedTypeOp<"avg_pool2d", [NoMemoryEffect]> {
let hasCanonicalizer = 1;
let assemblyFormat =
- "operands attr-dict `:` functional-type(operands, results)";
+ "operands `kernel` `(` custom<TosaAttr>($kernel) `)` "
+ "`stride` `(` custom<TosaAttr>($stride) `)` "
----------------
lhutton1 wrote:
Curious why we need `custom<TosaAttr>` here? Why not use `$kernel` directly?
https://github.com/llvm/llvm-project/pull/217291
More information about the Mlir-commits
mailing list