[mlir][tensor] Fold round-tripping extract/insert slice ops
authorLei Zhang <antiagainst@google.com>
Mon, 19 Sep 2022 16:48:43 +0000 (12:48 -0400)
committerLei Zhang <antiagainst@google.com>
Mon, 19 Sep 2022 16:58:52 +0000 (12:58 -0400)
commit9d5970516960373dbf2cfff395009ea3f75d5919
treef4e568d12767ecccbf271809d13384e5dd8b6b3c
parentba8424a251d72756d3d697fd0b208c1c29f3b99f
[mlir][tensor] Fold round-tripping extract/insert slice ops

Reviewed By: ThomasRaoux, nicolasvasilache

Differential Revision: https://reviews.llvm.org/D133909
mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
mlir/test/Dialect/Tensor/canonicalize.mlir