Skip to content

Commit

Permalink
Fix conv_fill_spec_pad.mlir (#706)
Browse files Browse the repository at this point in the history
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 #704.
  • Loading branch information
yzhang93 authored Aug 27, 2024
1 parent f8f31a8 commit 3e966c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/transform_dialect/conv_fill_spec_pad.mlir
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3e966c9

Please sign in to comment.