Skip to content

[codegen 1.5] Optimize state lowering by skipping self-assignments (for data)#4137

Draft
copybara-service[bot] wants to merge 1 commit intomainfrom
test_902838578
Draft

[codegen 1.5] Optimize state lowering by skipping self-assignments (for data)#4137
copybara-service[bot] wants to merge 1 commit intomainfrom
test_902838578

Conversation

@copybara-service
Copy link
Copy Markdown

[codegen 1.5] Optimize state lowering by skipping self-assignments (for data)

By skipping the data updates from next_value nodes that are self-assignments (where the new value is the same as the current register value), we can lean more heavily on load_enable and simplify our data update logic.

We still need to account for these when handling our full bits, though, so we make sure to include the "no-op" write conditions in the full bit update logic.

…or data)

By skipping the data updates from `next_value` nodes that are self-assignments (where the new value is the same as the current register value), we can lean more heavily on `load_enable` and simplify our data update logic.

We still need to account for these when handling our full bits, though, so we make sure to include the "no-op" write conditions in the full bit update logic.

PiperOrigin-RevId: 902838578
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