This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg] Stage application of pad tensor op vectoriztaion.
ClosedPublic

Authored by gysit on Dec 13 2021, 4:25 AM.

Details

Summary

Adapt the LinalgStrategyVectorizationPattern pass to apply the vectorization patterns in two stages. The change ensures the generic pad tensor op vectorization pattern does not run too early. Additionally, the revision adds the transfer op canonicalization patterns to the set of applied patterns, since they are needed to enable efficient vectorization for rank-reduced convolutions.

Diff Detail

Event Timeline

gysit created this revision.Dec 13 2021, 4:25 AM
gysit requested review of this revision.Dec 13 2021, 4:25 AM
nicolasvasilache accepted this revision.Dec 13 2021, 4:41 AM
This revision is now accepted and ready to land.Dec 13 2021, 4:41 AM