Skip to content

[opt] Add bitwise-operation simplification - #4928

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_975018707
Sep 9, 2026
Merged

copybara-service[bot] merged 1 commit into
mainfrom
test_975018707

Conversation

@copybara-service

Copy link
Copy Markdown

[opt] Add bitwise-operation simplification

We introduce a new pass, which focuses on simplifying bitwise operations against constant masks; when splits are enabled, these can be transformed into concats of BitSlices and Literals.

This is mostly useful when the user has written a software-optimized bit-twiddling routine.

@copybara-service
copybara-service Bot force-pushed the test_975018707 branch 2 times, most recently from b32a3b2 to 75f4c97 Compare September 9, 2026 03:02
We introduce a new pass, which focuses on simplifying bitwise operations against constant masks; when splits are enabled, these can be transformed into concats of BitSlices and Literals.

This is mostly useful when the user has written a software-optimized bit-twiddling routine.

PiperOrigin-RevId: 978271862
@copybara-service
copybara-service Bot merged commit 567352b into main Sep 9, 2026
7 checks passed
@copybara-service
copybara-service Bot deleted the test_975018707 branch September 9, 2026 03:49

This branch was previously deployed

1 inactive deployment
github-pages — 567352b5 Deployed Sep 9, 2026 by copybara-service[bot] via deploy #12701
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