[mlir][Transform] Make FuseIntoContainingOp support rank-reducing extract slices
authorNicolas Vasilache <nicolas.vasilache@gmail.com>
Mon, 12 Dec 2022 14:31:43 +0000 (06:31 -0800)
committerNicolas Vasilache <nicolas.vasilache@gmail.com>
Mon, 12 Dec 2022 20:55:08 +0000 (12:55 -0800)
commit93bbcffc7e9dbb30d5cd9002bc136dd3d7df950d
treef16d6691e6c4efd67bdd4424e0931010d86fa512
parentcde2cc9a8f46acfa1f92b127de28748943dc2de8
[mlir][Transform] Make FuseIntoContainingOp support rank-reducing extract slices

This fixes an issue where rank-reducing + fusion would not interop properly.

Differential Revision: https://reviews.llvm.org/D139844
mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td
mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
mlir/test/Dialect/Linalg/transform-op-fuse-into-containing.mlir