mlir-hlo/lib/utils
Smit Hinsu b016b5a219 Fix constant folding of mhlo.convert op with i1 element types
Boolean element values should be fetched as an unsigned integer and not signed integer which would return -1 for true.

Added to a TODO to handle unsigned types correctly as well as we don't seem to be using unsigned types.

PiperOrigin-RevId: 343927564
2020-11-23 14:18:28 -08:00
..
CMakeLists.txt Add CMake files and lit configurations, enough for `ninja check-mlir-hlo` to pass on all the tests 2020-08-07 22:14:34 -07:00
broadcast_utils.cc [MLIR][XLA] Allow for choice of safe/unsafe variant in broadcast utils 2020-08-07 22:16:11 -07:00
convert_op_folder.cc Fix constant folding of mhlo.convert op with i1 element types 2020-11-23 14:18:28 -08:00
cycle_detector.cc More cleanup in mlir-hlo to prepare for the standalone build 2020-08-03 19:28:00 -07:00
cycle_detector_test.cc More cleanup in mlir-hlo to prepare for the standalone build 2020-08-03 19:28:00 -07:00
hlo_utils.cc Fix failing segment_reduction_ops_mlir_bridge_test 2020-08-17 11:28:20 -07:00