From 3e966c9c3e6dd53b3ba1d9a62af8c5daf560f0cd Mon Sep 17 00:00:00 2001 From: Vivian Date: Tue, 27 Aug 2024 10:08:18 -0700 Subject: [PATCH] Fix conv_fill_spec_pad.mlir (#706) This change will get rid of the warning `conv_fill_spec_pad.mlir:57:3: warning: op argument #0 is not consumed in the body but is marked as consumed`. Also attempt to fix https://github.com/nod-ai/iree-amd-aie/issues/704. --- tests/transform_dialect/conv_fill_spec_pad.mlir | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/transform_dialect/conv_fill_spec_pad.mlir b/tests/transform_dialect/conv_fill_spec_pad.mlir index d1f337ff0..484d71ab8 100644 --- a/tests/transform_dialect/conv_fill_spec_pad.mlir +++ b/tests/transform_dialect/conv_fill_spec_pad.mlir @@ -54,7 +54,7 @@ module attributes { transform.with_named_sequence } { transform.yield } - transform.named_sequence @full_pipeline(%variant_op: !any {transform.consumed}) { + transform.named_sequence @full_pipeline(%variant_op: !any {transform.readonly}) { %ops = transform.structured.match ops{["linalg.fill", "linalg.conv_2d_nchw_fchw"]} in %variant_op : (!any) -> !any %fill, %conv = transform.split_handle %ops : (!any) -> (!any, !any)