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

feat[next]: Refactor CSE pass to support ITIR.Program #1646

Merged
merged 24 commits into from
Sep 17, 2024

Conversation

tehrengruber
Copy link
Contributor

@tehrengruber tehrengruber commented Sep 17, 2024

Extends the common subexpression elimination to support the new itir.Program node and pushes the intermediate Fencil -> Program conversion upwards the pass manager. The CSE pass now uses the type inference such that only field expressions or composites thereof are collected in field-view context (i.e. outside of as_fieldop).

This PR was initially meant to be merged into the temporary GTIR branch and reviewed by @egparedes here: #1579. The only change since then is to make dace tests pass (see commit 160a616).

tehrengruber and others added 24 commits July 17, 2024 09:14
…ridTools#1579)

Extends the common subexpression elimination to support the new
`itir.Program` node and pushes the intermediate `Fencil` -> `Program`
conversion upwards the pass manager. The CSE pass now uses the type
inference such that only field expressions or composites thereof are
collected in field-view context (i.e. outside of `as_fieldop`).
@tehrengruber tehrengruber merged commit 9328c50 into GridTools:main Sep 17, 2024
31 checks passed
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