forked from google/xls
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extend conditional specialization pass to forward through OneHotSelec…
…ts & logical ops too We already supported forwarding cases through case-at-a-time selects where the context guaranteed which case would be selected. We now extend this logic to also forward inputs through OneHotSelects & ANDs/ORs/XORs where the context guarantees that one input passes identically through the operation. Applied to AND/OR/XOR, this should give us a chance to see through various forms of operations that amount to selects or gates in context. PiperOrigin-RevId: 648509568
- Loading branch information
1 parent
329dcda
commit 8a9f598
Showing
3 changed files
with
299 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.