d828b457b3
If the result of the slice is an empty tensor, do nothing. This fixes a crash: we can't create a `concat` with an empty operand range. PiperOrigin-RevId: 378354956 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
chlo_canonicalize.td | ||
chlo_ops.cc | ||
hlo_ops.cc | ||
hlo_ops_base_enums.cc | ||
hlo_ops_base_structs.cc | ||
hlo_ops_common.cc | ||
hlo_patterns.td | ||
infer_fusibility_op_interface.cc | ||
init.cc | ||
lhlo_gpu_ops.cc | ||
lhlo_gpu_ops_enums.cc | ||
lhlo_gpu_ops_structs.cc | ||
lhlo_ops.cc | ||
lhlo_ops_structs.cc | ||
mhlo_canonicalize.td |