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

[MLIR][OpenMP] Independent omp.loop_nest translation #247

Conversation

skatrak
Copy link
Member

@skatrak skatrak commented Jan 17, 2025

This patch refactors the process of translating loop wrappers and omp.loop_nest operations so that both are independent. This makes all these loop-related operations be handled using the same process, instead of the previous approach where omp.loop_nests were handled directly as part of their associated loop wrappers.

In order to still have access to the collapsed loop CanonicalLoopInfo information while translating loop wrappers, this is stored globally in a stack-like container.

This patch refactors the process of translating loop wrappers and
`omp.loop_nest` operations so that both are independent. This makes all these
loop-related operations be handled using the same process, instead of the
previous approach where `omp.loop_nest`s were handled directly as part of their
associated loop wrappers.

In order to still have access to the collapsed loop CanonicalLoopInfo
information while translating loop wrappers, this is stored globally in a
stack-like container.
@skatrak
Copy link
Member Author

skatrak commented Jan 17, 2025

@skatrak
Copy link
Member Author

skatrak commented Jan 20, 2025

Replaced by an internal PR.

@skatrak skatrak closed this Jan 20, 2025
@skatrak skatrak deleted the users/skatrak/refactor-loop-02-helper branch January 20, 2025 16:36
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