This is an archive of the discontinued LLVM Phabricator instance.

[mlir][vector] Split populateVectorContractLoweringPatterns
ClosedPublic

Authored by antiagainst on Oct 6 2021, 6:02 AM.

Details

Summary

It was bundling quite a lot of patterns that convert high-D
vector ops into low-D elementary ops. It might not be good
for all of the patterns to happen for a particular downstream
user. For example, ShapeCastOpRewritePattern rewrites
vector.shape_cast into data movement extract/insert ops.

Instead, split the entry point into multiple ones so users
can pull in patterns on demand.

Diff Detail

Event Timeline

antiagainst created this revision.Oct 6 2021, 6:02 AM
antiagainst requested review of this revision.Oct 6 2021, 6:02 AM
ftynse accepted this revision.Oct 7 2021, 5:10 AM
This revision is now accepted and ready to land.Oct 7 2021, 5:10 AM