Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

transforms: (memref_stream) add missing doc and library call in generic constructors #2941

Merged
merged 2 commits into from
Jul 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions xdsl/transforms/canonicalization_patterns/memref_stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,7 @@ def match_and_rewrite(
op.iterator_types,
op.bounds,
op.init_indices,
op.doc,
op.library_call,
)
)
2 changes: 2 additions & 0 deletions xdsl/transforms/memref_stream_fold_fill.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ def fold_fills_in_module(module_op: ModuleOp):
op.iterator_types,
op.bounds,
init_indices,
op.doc,
op.library_call,
),
)
for fill_op in set(value for value in fill_ops if value is not None):
Expand Down
2 changes: 2 additions & 0 deletions xdsl/transforms/memref_stream_interleave.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,8 @@ def match_and_rewrite(
),
ArrayAttr(new_bounds),
op.init_indices,
op.doc,
op.library_call,
)
)

Expand Down
2 changes: 2 additions & 0 deletions xdsl/transforms/memref_stream_tile_outer_loops.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,8 @@ def materialize_loop(
generic_op.iterator_types,
ArrayAttr(new_bounds),
generic_op.init_indices,
generic_op.doc,
generic_op.library_call,
)

Rewriter.insert_op(new_generic_op, loc)
Expand Down
2 changes: 2 additions & 0 deletions xdsl/transforms/memref_streamify.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ def match_and_rewrite(
op.iterator_types,
op.bounds,
op.init_indices,
op.doc,
op.library_call,
),
InsertPoint.at_end(new_body),
)
Expand Down
Loading