mlir-hlo/tests
Uday Bondhugula de0578b4f9 PR #40745: [MLIR] Add constant folder for xla_hlo.broadcast_in_dim op
Imported from GitHub PR https://github.com/tensorflow/tensorflow/pull/40745

Fold broadcast_in_dim op if the operand is the result of a tensor splat.
Copybara import of the project:

--
26c9f631448b8d6ffd20ece39ea8d4132b5550c7 by Uday Bondhugula <uday@polymagelabs.com>:

[MLIR] Add constant folder for xla_hlo.broadcast_in_dim op

Fold broadcast_in_dim op if the operand is the result of a tensor
splat.

COPYBARA_INTEGRATE_REVIEW=https://github.com/tensorflow/tensorflow/pull/40745 from polymage-labs:broadcast_in_dim_fold 26c9f631448b8d6ffd20ece39ea8d4132b5550c7
PiperOrigin-RevId: 320365164
2020-07-30 22:33:34 +00:00
..
canonicalize.mlir PR #40745: [MLIR] Add constant folder for xla_hlo.broadcast_in_dim op 2020-07-30 22:33:34 +00:00
chlo_infer_shape_type_methods.mlir Cleanup build rule names in compiler/mlir/hlo to remove the redundant/obsolete xla_ prefix 2020-07-30 22:33:29 +00:00
chlo_legalize_to_hlo_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
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-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 Rename xla_lhlo dialect into lmhlo 2020-07-30 22:33:11 +00:00
hlo-legalize-to-linalg.mlir Rename `xla_hlo` dialect to `mhlo` 2020-07-30 22:32:50 +00: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 Cleanup build rule names in compiler/mlir/hlo to remove the redundant/obsolete xla_ prefix 2020-07-30 22:33:29 +00: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
lhlo-copy-removal.mlir Rename xla_lhlo dialect into lmhlo 2020-07-30 22:33:11 +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 Rename xla_lhlo dialect into lmhlo 2020-07-30 22:33:11 +00:00
lhlo-legalize-to-llvm.mlir Rename xla_lhlo dialect into lmhlo 2020-07-30 22:33:11 +00:00
lhlo-legalize-to-parallel-loops.mlir Rename xla_lhlo dialect into lmhlo 2020-07-30 22:33:11 +00:00
lhlo_ops.mlir Rename xla_lhlo dialect into lmhlo 2020-07-30 22:33:11 +00:00
lower-complex.mlir Cleanup build rule names in compiler/mlir/hlo to remove the redundant/obsolete xla_ prefix 2020-07-30 22:33:29 +00: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 Cleanup build rule names in compiler/mlir/hlo to remove the redundant/obsolete xla_ prefix 2020-07-30 22:33:29 +00:00
ops.mlir Rename `xla_hlo` dialect to `mhlo` 2020-07-30 22:32:50 +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 Cleanup build rule names in compiler/mlir/hlo to remove the redundant/obsolete xla_ prefix 2020-07-30 22:33:29 +00: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 PR #40745: [MLIR] Add constant folder for xla_hlo.broadcast_in_dim op 2020-07-30 22:33:34 +00:00