[mlir][tensor] Remove incorrect parallel_insert_slice folder
authorThomas Raoux <thomasraoux@google.com>
Thu, 25 Aug 2022 19:35:26 +0000 (19:35 +0000)
committerThomas Raoux <thomasraoux@google.com>
Fri, 26 Aug 2022 15:27:54 +0000 (15:27 +0000)
commit1ee0d60a9be5dcbe3234b81a1c93e6a206a88154
treed487aba43e8dbebdf34d6436417f40775aafdfb6
parentbe199527205dc8a8c7febc057ad6be90fac15547
[mlir][tensor] Remove incorrect parallel_insert_slice folder

parallel_insert_slice doesn't return a value therefore we shouldn't try
to fold the result. The insert folding don't apply to this op.
The current folding would cause pattern rewrite to not be able to
converge.

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