Skip to content

[OptimizeInstructions] Optimize comparisons of a shifted value to a constant #5069

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

Draft
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

kripken
Copy link
Member

@kripken kripken commented Sep 21, 2022

Handles #5008 (comment)

@kripken
Copy link
Member Author

kripken commented Sep 22, 2022

This looks correct, but is quite complex, and though it was a top superoptimizer suggestion I see little benefit. So I am not sure it is worth it. Leaving as draft for now.

@kripken kripken mentioned this pull request Sep 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant