torch-mlir/python/npcomp/compiler
Stella Laurenzo e18e8e0a96 Add boolean/logical operations (and, or, not).
* Adds a new to_boolean op to evaluate a value as a truthy i1
* Uses cascading scf.if ops to properly evaluate and/or sequences (short-circuit and original value returning)
* Adds a helper to construct select ops and uses it to implement 'not'
2020-06-09 00:01:21 -07:00
..
__init__.py Add basic AST -> basicpy dialect function extraction. 2020-06-06 21:24:28 -07:00
frontend.py Add boolean/logical operations (and, or, not). 2020-06-09 00:01:21 -07:00
logging.py Add bool constants. 2020-06-07 15:15:19 -07:00