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

Generalise (x | 1) optimization to larger bitsize types #6805

Open
TomAFrench opened this issue Dec 13, 2024 · 1 comment
Open

Generalise (x | 1) optimization to larger bitsize types #6805

TomAFrench opened this issue Dec 13, 2024 · 1 comment
Labels
good first issue Good for newcomers

Comments

@TomAFrench
Copy link
Member

This optimization is just a special case of x | (2^(N) -1) as uN for a bitsize N. While the boolean case is more common to occur we should also handle the others.

This is considered relatively low-priority as it's much less likely to trigger in usual scenarios.

@github-project-automation github-project-automation bot moved this to 📋 Backlog in Noir Dec 13, 2024
@TomAFrench TomAFrench added the good first issue Good for newcomers label Dec 13, 2024
@TomAFrench
Copy link
Member Author

Optimization in question being #6795

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant