Skip to content

Fix usages of bit provenance analysis that assume the source is bits-typed. - #4738

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_961055982
Aug 9, 2026
Merged

Fix usages of bit provenance analysis that assume the source is bits-typed.#4738
copybara-service[bot] merged 1 commit into
mainfrom
test_961055982

Conversation

@copybara-service

Copy link
Copy Markdown

Fix usages of bit provenance analysis that assume the source is bits-typed.

The select tree balancing pass + visibility analysis previously assumed that the source of a bit was always a bits type. If the source was a compound type (such as a tuple or array param), this assumption failed. This change updates BPA to materialize slices/indexing if needed in these cases.

@copybara-service
copybara-service Bot force-pushed the test_961055982 branch 3 times, most recently from aea3c97 to 819d34f Compare August 9, 2026 06:37
…typed.

The select tree balancing pass + visibility analysis previously assumed that the source of a bit was always a bits type. If the source was a compound type (such as a tuple or array param), this assumption failed. This change updates BPA to materialize slices/indexing if needed in these cases.

PiperOrigin-RevId: 961656119
@copybara-service
copybara-service Bot merged commit 84bc29e into main Aug 9, 2026
@copybara-service
copybara-service Bot deleted the test_961055982 branch August 9, 2026 08:07
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