Skip to content

dialect: (eqsat_pdl_interp) Move eqsat_pdl_interp operations to their own dialect#5474

Merged
jumerckx merged 14 commits intomainfrom
jumerckx/eqsat_pdl_interp
Dec 13, 2025
Merged

dialect: (eqsat_pdl_interp) Move eqsat_pdl_interp operations to their own dialect#5474
jumerckx merged 14 commits intomainfrom
jumerckx/eqsat_pdl_interp

Conversation

@jumerckx
Copy link
Collaborator

This pr also includes convert-pdl-interp-to-eqsat-pdl-interp which is used by apply-eqsat-pdl and converts each of the pdl_interp operations to the equivalent in eqsat_pdl_interp.

I just copied over the operation definitions. In the future these dialects are supposed to diverge.

@jumerckx jumerckx requested a review from superlopuh November 24, 2025 21:06
@jumerckx jumerckx self-assigned this Nov 24, 2025
@jumerckx jumerckx added the dialects Changes on the dialects label Nov 24, 2025
@jumerckx jumerckx force-pushed the jumerckx/eqsat_pdl_interp branch from 8036cfa to aba8f4b Compare November 25, 2025 23:44
@codecov
Copy link

codecov bot commented Nov 25, 2025

Codecov Report

❌ Patch coverage is 90.45936% with 27 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.98%. Comparing base (0c1ce7d) to head (4c82caf).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
xdsl/dialects/eqsat_pdl_interp.py 85.55% 14 Missing and 12 partials ⚠️
xdsl/interpreters/eqsat_pdl_interp.py 96.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##             main    #5474    +/-   ##
========================================
  Coverage   85.98%   85.98%            
========================================
  Files         388      389     +1     
  Lines       55396    55627   +231     
  Branches     6378     6400    +22     
========================================
+ Hits        47631    47832   +201     
- Misses       6250     6265    +15     
- Partials     1515     1530    +15     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jumerckx jumerckx force-pushed the jumerckx/eqsat_pdl_interp branch from a8e35aa to 351f4b6 Compare November 30, 2025 04:04
@jumerckx
Copy link
Collaborator Author

CI is green!

# "custom<CreateOperationOpResults>($inputResultTypes, type($inputResultTypes), $inferredResultTypes)"
# "attr-dict"
# )
# TODO: this assebly format is unsupported in xDSL because of the `custom` directives.
Copy link
Member

Choose a reason for hiding this comment

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

We actually now support custom directives! I wonder if it would be worth first fixing that quickly in another PR then merging this one? This is your call, we can also merge this now and clean up later, since the custom syntax already works.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I'll merge this first as just uncommenting the assembly_format still throws.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

jumerckx and others added 2 commits December 13, 2025 10:56
@jumerckx jumerckx merged commit 78b2e48 into main Dec 13, 2025
23 checks passed
@jumerckx jumerckx deleted the jumerckx/eqsat_pdl_interp branch December 13, 2025 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dialects Changes on the dialects

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants