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

Fix the order of the function during the IR construction. #608

Merged
merged 7 commits into from
Feb 25, 2025

Conversation

vksnk
Copy link
Collaborator

@vksnk vksnk commented Feb 21, 2025

Apparently, the test which checked compute_at was disabled and was failing at head after I enabled it. The issue is that we first were visiting the inner loop which might violate the assumption that the function are added in the order of their occurance in the final IR (this is important so we can merge lifetimes correctly).

@vksnk vksnk requested a review from dsharlet February 21, 2025 23:57
@vksnk
Copy link
Collaborator Author

vksnk commented Feb 22, 2025

I think I found another case which might be incorrect, so this is not ready yet.

@vksnk
Copy link
Collaborator Author

vksnk commented Feb 25, 2025

Ready for review now.

@vksnk vksnk merged commit 9e47253 into main Feb 25, 2025
1 check 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