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

Restructure scf conversion #75

Open
wants to merge 4 commits into
base: Alok-indextree-rewrite
Choose a base branch
from

Conversation

AK2000
Copy link
Collaborator

@AK2000 AK2000 commented Nov 11, 2024

Another large rework of how we convert from index tree to SCF. This is mostly contained just in how that pass is structured. Previously it was very ad-hoc, each level of the tree was converted individually. This led to problems with tracking users and with determining the loop carried arguments. The new abstractions in that pass (specifically the LoopInfo* data structure) lead to a more understandable conversion, one that should resemble the structure of passes that are written with the MLIR ConversionPatternRewriter. Because operations do not map closely from IndexTree to SCF, it is still impossible, or at least very difficult to use the ConversionPatternRewriter. These changes should also make passes like fusion easier to write with the new index tree dialect.

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.

1 participant