-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This change allows select to have no cases.
Prior to this change, both the verifier and the select constructors expect such IR node to have at least one case. However, bdd_simplification_pass can generate select nodes with no cases (line 430). Since a select node with no cases (but with a default one) has a well defined semantics (i.e., always propagate the default case), we opted to allow it in the XLS IR. PiperOrigin-RevId: 698845577
- Loading branch information
1 parent
a87b3a1
commit 77f618f
Showing
2 changed files
with
6 additions
and
2 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