mlir-hlo/lib/Dialect/mhlo/transforms
Hanhan Wang 8f58f844e5 Upstream mhlo.dot lowering to Linalg to MHLO repo.
We prototyped the lowering from mhlo.dot to linalg.matmul in IREE. Since Linalg
now supports matmul in tensors world, we can move the lowering logic to tensors
world, and upstream to legalize_to_linalg.cc. The patch lowers the mhlo.dot to
the linalg.matmul/matvec/dot in tensors world.

PiperOrigin-RevId: 351184911
2021-01-11 10:35:24 -08:00
..
CMakeLists.txt Fix MLIR include paths. 2020-12-17 00:56:04 -08:00
chlo_legalize_to_hlo.cc Integrate LLVM at llvm/llvm-project@c3acda0798 2020-12-23 23:53:54 -08:00
chlo_legalize_to_hlo_pass.cc Fix header include. 2020-12-24 01:40:31 -08:00
chlo_legalize_to_hlo_patterns.td Restrict CHLO Acos and Sinh op lowering to non complex types 2020-12-18 11:32:10 -08:00
hlo_legalize_to_lhlo.cc Prepare to remove tensor_load and tensor_store special handling from hlo to lhlo legalization. 2020-12-22 06:29:12 -08:00
legalize_control_flow.cc Fix MLIR include paths. 2020-12-17 00:56:04 -08:00
legalize_gather_to_torch_index_select.cc [mlir][NFC] Replace usages of Function.h and Module.h with BuiltinOps.h 2020-12-01 13:18:06 -08:00
legalize_to_linalg.cc Upstream mhlo.dot lowering to Linalg to MHLO repo. 2021-01-11 10:35:24 -08:00
legalize_to_standard.cc Integrate LLVM at llvm/llvm-project@1b97cdf885 2020-12-21 23:49:18 -08: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][NFC] Replace usages of Function.h and Module.h with BuiltinOps.h 2020-12-01 13:18:06 -08:00
lhlo_fuse_linalg.cc Integrate LLVM at llvm/llvm-project@c3acda0798 2020-12-23 23:53:54 -08:00
lhlo_legalize_to_affine.cc [mlir][NFC] Replace usages or mlir/IR/StandardTypes.h with mlir/IR/BuiltinTypes.h 2020-12-15 00:59:29 -08:00
lhlo_legalize_to_gpu.cc [mlir][NFC] Replace usages or mlir/IR/StandardTypes.h with mlir/IR/BuiltinTypes.h 2020-12-15 00:59:29 -08:00
lhlo_legalize_to_parallel_loops.cc [mlir][NFC] Replace usages or mlir/IR/StandardTypes.h with mlir/IR/BuiltinTypes.h 2020-12-15 00:59:29 -08:00
lower_complex.cc Integrate LLVM at llvm/llvm-project@0fc1aa22ee 2020-10-27 06:56:16 -07:00
lower_complex_patterns.td Removed Op(Complex, Real) lowering to address complex type inference issue 2020-11-06 15:24:23 -08:00
lower_general_dot.cc [mlir][NFC] Replace usages or mlir/IR/StandardTypes.h with mlir/IR/BuiltinTypes.h 2020-12-15 00:59:29 -08: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 Integrate LLVM at llvm/llvm-project@0fc1aa22ee 2020-10-27 06:56:16 -07:00
mhlo_control_flow_to_scf.cc Fix MLIR include paths. 2020-12-17 00:56:04 -08: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 Integrate LLVM at llvm/llvm-project@0fc1aa22ee 2020-10-27 06:56:16 -07:00
sink_constants_to_control_flow.cc Enable fallback legalization for MaxPoolGradGrad and MaxPool3DGradGrad ops 2020-11-13 13:49:05 -08:00
test_infer_shaped_type_pass.cc Integrate LLVM at llvm/llvm-project@0fc1aa22ee 2020-10-27 06:56:16 -07:00
transform_unranked_hlo.cc Integrate LLVM at llvm/llvm-project@c3acda0798 2020-12-23 23:53:54 -08:00
unfuse_batch_norm.cc [mlir][NFC] Replace usages or mlir/IR/StandardTypes.h with mlir/IR/BuiltinTypes.h 2020-12-15 00:59:29 -08:00
unfuse_batch_norm_pass.cc Integrate LLVM at llvm/llvm-project@0fc1aa22ee 2020-10-27 06:56:16 -07:00