Skip to content

Conversation

@copybara-service
Copy link

[codegen 1.5] Make channel lowering respect placeholders

Our node utility function ReplaceWithAnd previously unconditionally dropped all-ones literals - which caused some substantial errors in context of Codegen 1.5's use of literals as placeholders. We instead explicitly block this behavior, while still leaving the utility functions fully flexible for convenience.

While we're at it, we upgrade the utility functions to be able to combine arbitrary literals into a single literal when requested.

Our node utility function ReplaceWithAnd previously unconditionally dropped all-ones literals - which caused some substantial errors in context of Codegen 1.5's use of literals as placeholders. We instead explicitly block this behavior, while still leaving the utility functions fully flexible for convenience.

While we're at it, we upgrade the utility functions to be able to combine arbitrary literals into a single literal when requested.

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