Tighten the matcher of the PadTensorOpVectorizationWithInsertSlicePattern pattern. Only match if the PadOp result is used by the InsertSliceOp source. Fail if the result is used by the InsertSliceOp dest.
Depends On D115336
Paths
| Differential D115359
[mlir][linalg] Adapt the PadTensorOpVectorizationWithInsertSlicePattern matching. ClosedPublic Authored by gysit on Dec 8 2021, 9:14 AM.
Details Summary Tighten the matcher of the PadTensorOpVectorizationWithInsertSlicePattern pattern. Only match if the PadOp result is used by the InsertSliceOp source. Fail if the result is used by the InsertSliceOp dest. Depends On D115336
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Dec 13 2021, 1:16 AM This revision was landed with ongoing or failed builds.Dec 13 2021, 5:00 AM Closed by commit rG6859f8ed1ef7: [mlir][linalg] Adapt the PadTensorOpVectorizationWithInsertSlicePattern… (authored by gysit). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 393856 mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
mlir/test/Dialect/Linalg/vectorization.mlir
|