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: use Rewriter instead of PatternRewriter in mlir-opt #3537

Merged
merged 1 commit into from
Dec 5, 2024

Conversation

math-fehr
Copy link
Collaborator

@math-fehr math-fehr commented Nov 29, 2024

`PatternRewriter` should only be used for rewrite patterns.

stack-info: PR: #3537, branch: math-fehr/stack/1
Copy link

codecov bot commented Nov 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.36%. Comparing base (190c4f8) to head (eb30740).
Report is 34 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3537   +/-   ##
=======================================
  Coverage   90.36%   90.36%           
=======================================
  Files         466      466           
  Lines       58517    58516    -1     
  Branches     5583     5583           
=======================================
+ Hits        52878    52879    +1     
+ Misses       4210     4209    -1     
+ Partials     1429     1428    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@math-fehr math-fehr merged commit 4ebfbe8 into main Dec 5, 2024
29 checks passed
@math-fehr math-fehr deleted the math-fehr/stack/1 branch December 5, 2024 15:13
math-fehr added a commit that referenced this pull request Dec 5, 2024
…il (#3538)

Stacked PRs:
 * #3540
 * #3539
 * __->__#3538
 * #3537


--- --- ---

### transforms: use rewriter and listener in
convert-stencil-to-csl-stencil


The pass was not propagating the listener from the PatternRewriter, and
thus some operations were modified without notifying the rewrite
worklist.
EdmundGoodman pushed a commit to EdmundGoodman/xdsl that referenced this pull request Dec 6, 2024
…project#3537)

Stacked PRs:
 * xdslproject#3540
 * xdslproject#3539
 * xdslproject#3538
 * __->__#3537


--- --- ---

### transforms: use Rewriter instead of PatternRewriter in mlir-opt


`PatternRewriter` should only be used for rewrite patterns.
EdmundGoodman pushed a commit to EdmundGoodman/xdsl that referenced this pull request Dec 6, 2024
…il (xdslproject#3538)

Stacked PRs:
 * xdslproject#3540
 * xdslproject#3539
 * __->__#3538
 * xdslproject#3537


--- --- ---

### transforms: use rewriter and listener in
convert-stencil-to-csl-stencil


The pass was not propagating the listener from the PatternRewriter, and
thus some operations were modified without notifying the rewrite
worklist.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
transformations Changes or adds a transformatio
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants