torch-mlir/pytest/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
..
binary_expressions.py Make binary_expr and binary_compare have similar asm syntax. 2020-06-08 18:29:14 -07:00
booleans.py Add boolean/logical operations (and, or, not). 2020-06-09 00:01:21 -07:00
comparisons.py Make binary_expr and binary_compare have similar asm syntax. 2020-06-08 18:29:14 -07:00
constants.py Add None constants. 2020-06-07 16:21:00 -07:00