mlir-hlo/tests
Jacques Pienaar 344c500fca [mhlo] Add legalize to SCF pass
Start of pass to legalize MHLO control flow to SCF for further optimization in common form. The current version just matches a very simple instance (which also happens to occur a few times). Exposes some further canonicalization opportunities that aren't yet addressed.

PiperOrigin-RevId: 329017723
2020-08-28 15:11:58 -07:00
..
end2end Move hlo end to end tests to the hlo directory tree. 2020-08-03 19:28:37 -07: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
canonicalize.mlir PR #42509: [MLIR] Add folder for mhlo get_dimension_size 2020-08-24 15:36:30 -07:00
chlo_infer_shape_type_methods.mlir [MLIR][XLA] Allow for choice of safe/unsafe variant in broadcast utils 2020-08-07 22:16:11 -07:00
chlo_legalize_to_hlo_broadcasts.mlir [MLIR][XLA] Allow for choice of safe/unsafe variant in broadcast utils 2020-08-07 22:16:11 -07:00
concatenate.mlir Rename `xla_hlo` dialect to `mhlo` 2020-07-30 22:32:50 +00:00
convert.mlir Rename `xla_hlo` dialect to `mhlo` 2020-07-30 22:32:50 +00:00
hlo-legalize-gather-to-torch-index-select.mlir Add a transform for Gathers to torch_index_select. 2020-07-30 22:34:32 +00:00
hlo-legalize-to-lhlo-unranked.mlir [MLIR][LHLO] Convert mhlo.dynamic_reshape -> lhlo.reshape_memref_cast. 2020-07-30 22:33:02 +00:00
hlo-legalize-to-lhlo.mlir Allow running tests with FILECHECK_OPTS=-enable-var-scope 2020-08-03 19:27:38 -07:00
hlo-legalize-to-linalg.mlir Enhance lowering reshape op to Linalg. 2020-08-21 23:27:34 -07:00
inlining.mlir Rename `xla_hlo` dialect to `mhlo` 2020-07-30 22:32:50 +00:00
legalize-control-flow.mlir Cleanup build rule names in compiler/mlir/hlo to remove the redundant/obsolete xla_ prefix 2020-07-30 22:33:29 +00:00
legalize-to-std.mlir Lowering for mhlo.ceil to std.ceil 2020-08-12 16:15:35 -07:00
legalize_tanh_to_approximation.mlir Cleanup build rule names in compiler/mlir/hlo to remove the redundant/obsolete xla_ prefix 2020-07-30 22:33:29 +00:00
legalize_to_scf.mlir [mhlo] Add legalize to SCF pass 2020-08-28 15:11:58 -07:00
lhlo-copy-removal.mlir Fix mhlo to lmhlo conversion for ReduceOp. 2020-07-30 22:34:19 +00:00
lhlo-fuse-linalg.mlir Move HLO tests to `third_party/tensorflow/compiler/mlir/hlo/` 2020-07-30 22:32:45 +00:00
lhlo-legalize-select-and-scatter.mlir Cleanup build rule names in compiler/mlir/hlo to remove the redundant/obsolete xla_ prefix 2020-07-30 22:33:29 +00:00
lhlo-legalize-to-affine.mlir Rename xla_lhlo dialect into lmhlo 2020-07-30 22:33:11 +00:00
lhlo-legalize-to-gpu.mlir Rename xla_lhlo dialect into lmhlo 2020-07-30 22:33:11 +00:00
lhlo-legalize-to-linalg.mlir Enhance lowering reshape op to Linalg. 2020-08-21 23:27:34 -07:00
lhlo-legalize-to-llvm.mlir [MLIR] Remove Affine->STD and SCF->STD patterns from lhlo->llvm pass. 2020-08-07 22:15:24 -07:00
lhlo-legalize-to-parallel-loops.mlir Allow running tests with FILECHECK_OPTS=-enable-var-scope 2020-08-03 19:27:38 -07:00
lhlo_ops.mlir Rename xla_lhlo dialect into lmhlo 2020-07-30 22:33:11 +00:00
lit.cfg.py 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
lit.site.cfg.py.in Add license header to lit.site.cfg.py.in 2020-08-07 22:22:24 -07:00
lower-complex.mlir Modified HLOAbsOp lowering for differing types. 2020-08-03 19:27:12 -07:00
lower-general-dot.mlir Cleanup build rule names in compiler/mlir/hlo to remove the redundant/obsolete xla_ prefix 2020-07-30 22:33:29 +00:00
materialize-broadcasts.mlir Cleanup build rule names in compiler/mlir/hlo to remove the redundant/obsolete xla_ prefix 2020-07-30 22:33:29 +00:00
mhlo-fusion.mlir Cleanup build rule names in compiler/mlir/hlo to remove the redundant/obsolete xla_ prefix 2020-07-30 22:33:29 +00:00
mhlo-transform-unranked.mlir Integrate LLVM at llvm/llvm-project@9c5e25a696 2020-08-17 18:22:29 -07:00
ops.mlir Update mhlo.constant to use a custom assembly format instead of a custom printer and parser (NFC). 2020-08-07 22:23:06 -07:00
optimize-hlo.mlir Add an optimization that converts some Gathers to Slices. 2020-07-30 22:34:10 +00:00
reduce.mlir Rename `xla_hlo` dialect to `mhlo` 2020-07-30 22:32:50 +00:00
reshape.mlir Rename `xla_hlo` dialect to `mhlo` 2020-07-30 22:32:50 +00:00
reverse.mlir Rename `xla_hlo` dialect to `mhlo` 2020-07-30 22:32:50 +00:00
sink-constants-to-control-flow.mlir Sink standard dialect constants in sink_constants_to_control_flow pass 2020-08-03 19:30:29 -07:00
transpose.mlir Rename `xla_hlo` dialect to `mhlo` 2020-07-30 22:32:50 +00:00
tuple.mlir Rename `xla_hlo` dialect to `mhlo` 2020-07-30 22:32:50 +00:00
unfuse_batch_norm.mlir Allow running tests with FILECHECK_OPTS=-enable-var-scope 2020-08-03 19:27:38 -07:00