-
Notifications
You must be signed in to change notification settings - Fork 303
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Python][OM] Handle BoolAttr's before IntegerAttr's. (#7438)
BoolAttr's are IntegerAttr's, check them first. IntegerAttr's that happen to have the characteristics of BoolAttr will accordingly become Python boolean values. Unclear where these come from but we do lower booleans to MLIR bool constants so make sure to handle that. Add test for object model IR with bool constants.
- Loading branch information
Showing
2 changed files
with
21 additions
and
10 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