mlir-hlo/lib/Dialect/mhlo/transforms
Smit Hinsu 6eda9ed273 Add compare_type optional attribute to CompareOp in HLO dialects
If unspecified, `compare_type` is FLOAT for float element types, SIGNED for signed element types and UNSIGNED for unsigned element types. compare_type can be TOTALORDER for float element types.

- Added import and export support the attribute.
- Restricted legalization from HLO to TF to the default compare types.
- Updated existing usage of the CompareOp

PiperOrigin-RevId: 339099219
2020-10-26 12:58:29 -07:00
..
CMakeLists.txt [MLIR][KernelGen] Rename `legalize-tanh-to-approximation` to `legalize-trigonometric-to-approximation` 2020-09-23 11:53:45 -07:00
chlo_legalize_to_hlo.cc Add compare_type optional attribute to CompareOp in HLO dialects 2020-10-26 12:58:29 -07:00
chlo_legalize_to_hlo_pass.cc [MLIR][KernelGen] Fix unranked codegeneration in kernel generator 2020-10-07 05:39:55 -07:00
chlo_legalize_to_hlo_patterns.td Add compare_type optional attribute to CompareOp in HLO dialects 2020-10-26 12:58:29 -07:00
hlo_legalize_to_lhlo.cc Use OpConversionPattern instead of BufferizeOpConversionPattern 2020-10-22 01:20:43 -07:00
legalize_control_flow.cc Remove unused `using` statements. 2020-10-05 15:53:59 -07:00
legalize_gather_to_torch_index_select.cc More cleanup in mlir-hlo to prepare for the standalone build 2020-08-03 19:28:00 -07:00
legalize_to_linalg.cc [NFC] Make naming style consistent. 2020-10-23 12:23:25 -07:00
legalize_to_standard.cc Integrate LLVM at llvm/llvm-project@6713332fdd 2020-10-13 17:21:14 -07:00
legalize_to_standard_patterns.td Lowering for mhlo.ceil to std.ceil 2020-08-12 16:15:35 -07:00
legalize_trigonometric_to_approximation.cc [MLIR][KernelGen] Legalize `atan` to approximation 2020-10-05 08:05:52 -07:00
lhlo_fuse_linalg.cc Extend hlo-fuse-linalg slightly to support aliased returns. 2020-10-16 04:04:23 -07:00
lhlo_legalize_to_affine.cc Make LMHLO's Dot have the same power as MHLO's DotGeneral. 2020-10-15 15:09:06 -07:00
lhlo_legalize_to_gpu.cc Remove the dependency on global dialect registry from mlir-hlo 2020-08-25 20:30:42 -07:00
lhlo_legalize_to_llvm.cc Integrate LLVM at llvm/llvm-project@52f0837778 2020-09-10 08:14:23 -07:00
lhlo_legalize_to_llvm_pass.cc Remove the dependency on global dialect registry from mlir-hlo 2020-08-25 20:30:42 -07:00
lhlo_legalize_to_parallel_loops.cc Remove the dependency on global dialect registry from mlir-hlo 2020-08-25 20:30:42 -07:00
lower_complex.cc Integrate LLVM at llvm/llvm-project@6713332fdd 2020-10-13 17:21:14 -07:00
lower_complex_patterns.td More cleanup in mlir-hlo to prepare for the standalone build 2020-08-03 19:28:00 -07:00
lower_general_dot.cc Remove unused `using` statements. 2020-10-05 15:53:59 -07:00
materialize_broadcasts.cc More cleanup in mlir-hlo to prepare for the standalone build 2020-08-03 19:28:00 -07:00
materialize_broadcasts_pass.cc More cleanup in mlir-hlo to prepare for the standalone build 2020-08-03 19:28:00 -07:00
mhlo_control_flow_to_scf.cc Integrate LLVM at llvm/llvm-project@202766947e 2020-09-02 02:27:52 -07:00
mhlo_fusion.cc More cleanup in mlir-hlo to prepare for the standalone build 2020-08-03 19:28:00 -07:00
optimize_mhlo.cc More cleanup in mlir-hlo to prepare for the standalone build 2020-08-03 19:28:00 -07:00
optimize_mhlo_pass.cc Remove unused `using` statements. 2020-10-05 15:53:59 -07:00
sink_constants_to_control_flow.cc Add a header for table-gen generated pass for MHLO and use it in SinkConstantsToControlFlowPass 2020-09-21 18:01:57 -07:00
test_infer_shaped_type_pass.cc More cleanup in mlir-hlo to prepare for the standalone build 2020-08-03 19:28:00 -07:00
transform_unranked_hlo.cc [MLIR][KerneGen] Lower `tf.Atan` all the way to LLVM 2020-10-05 05:07:13 -07:00
unfuse_batch_norm.cc Integrate LLVM at llvm/llvm-project@202766947e 2020-09-02 02:27:52 -07:00
unfuse_batch_norm_pass.cc More cleanup in mlir-hlo to prepare for the standalone build 2020-08-03 19:28:00 -07:00