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

[ReuseIR] loop invariant exclusivity hoisting #6

Open
SchrodingerZhu opened this issue Aug 18, 2024 · 0 comments
Open

[ReuseIR] loop invariant exclusivity hoisting #6

SchrodingerZhu opened this issue Aug 18, 2024 · 0 comments
Labels
long-term A long-term goal

Comments

@SchrodingerZhu
Copy link
Owner

The check of exclusivity introduces a jump to possible allocation inside a modification loop, thus disabling SIMD and other optimizations. We should be able to hoist the loop invariant by pulling the first iteration out and eliminating remaining checks inside the body. Let’s see if we can achieve some fancy results!

@SchrodingerZhu SchrodingerZhu added the long-term A long-term goal label Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
long-term A long-term goal
Projects
None yet
Development

No branches or pull requests

1 participant