Skip to content

IR minimizer bitwidth minimization in reverse topo order on bit-typed ops#4287

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_918107819
May 21, 2026
Merged

IR minimizer bitwidth minimization in reverse topo order on bit-typed ops#4287
copybara-service[bot] merged 1 commit into
mainfrom
test_918107819

Conversation

@copybara-service
Copy link
Copy Markdown

IR minimizer bitwidth minimization in reverse topo order on bit-typed ops

This reverse-topo sorted pass on the IR takes bitslices of the operands of a node to reduce the node's bitwidth. This approach does not add extends by relying on the node's users having introduced bitslices on their operands, meaning we can shrink the node by dropping or modifying bitslices.

@copybara-service copybara-service Bot force-pushed the test_918107819 branch 4 times, most recently from bb8dcb3 to 398b230 Compare May 21, 2026 16:27
… ops

This reverse-topo sorted pass on the IR takes bitslices of the operands of a node to reduce the node's bitwidth. This approach does not add extends by relying on the node's users having introduced bitslices on their operands, meaning we can shrink the node by dropping or modifying bitslices.

PiperOrigin-RevId: 919110993
@copybara-service copybara-service Bot merged commit 74832d3 into main May 21, 2026
@copybara-service copybara-service Bot deleted the test_918107819 branch May 21, 2026 17:03
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