This is an archive of the discontinued LLVM Phabricator instance.

[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 Timeline

gysit created this revision.Dec 8 2021, 9:14 AM
gysit requested review of this revision.Dec 8 2021, 9:14 AM
nicolasvasilache accepted this revision.Dec 13 2021, 1:16 AM
This 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
This revision was automatically updated to reflect the committed changes.