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

Added initial eqsat front end pass #3186

Merged
merged 2 commits into from
Sep 18, 2024

Conversation

jianyicheng
Copy link
Collaborator

@jianyicheng jianyicheng commented Sep 17, 2024

This PR addresses #3170:

  • Added initial front end pass eqsat-create-eclasses for the minimal example
  • Updated the test case to match the pass

Copy link

codecov bot commented Sep 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.04%. Comparing base (b5dd78f) to head (ee68674).
Report is 29 commits behind head on jianyi/eqsat/fix-ci.

Additional details and impacted files
@@                  Coverage Diff                  @@
##           jianyi/eqsat/fix-ci    #3186    +/-   ##
=====================================================
  Coverage                90.03%   90.04%            
=====================================================
  Files                      430      433     +3     
  Lines                    54067    54352   +285     
  Branches                  8367     8412    +45     
=====================================================
+ Hits                     48681    48939   +258     
- Misses                    4038     4052    +14     
- Partials                  1348     1361    +13     

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

@@ -405,6 +405,11 @@ def get_stencil_bufferize():

return stencil_bufferize.StencilBufferize

def get_create_eclasses():
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
def get_create_eclasses():
def get_eqsat_create_eclasses():

Comment on lines +29 to +30
# TODO: do we need a `replace_by_except` function, e.g.
# eclass_op.result.replace_by_except(eclass_op.results[0], [eclass_op.result])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure what MLIR has for this, but this works ok, no?

Copy link
Collaborator Author

@jianyicheng jianyicheng Sep 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh that's neat, we could probably use the same helper. Could you please file an issue for this?

jianyicheng pushed a commit that referenced this pull request Sep 18, 2024
@jianyicheng jianyicheng merged commit f5fe8ba into jianyi/eqsat/fix-ci Sep 18, 2024
13 checks passed
@jianyicheng jianyicheng deleted the jianyi/eqsat/create-eclasses branch September 18, 2024 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants