This is an archive of the discontinued LLVM Phabricator instance.

[mlir][Linalg] Make contraction vectorization use vector transfers
ClosedPublic

Authored by nicolasvasilache on May 29 2020, 8:57 AM.

Details

Summary

This revision replaces the load + vector.type_cast by appropriate vector transfer
operations. These play more nicely with other vector abstractions and canonicalization
patterns and lower to load/store with or without masks when appropriate.

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptMay 29 2020, 8:58 AM
ftynse accepted this revision.May 29 2020, 9:02 AM
ftynse added inline comments.
mlir/test/Dialect/Linalg/transform-patterns.mlir
2

Something went wrong here, you need \ at the end of the previous line for this to work

This revision is now accepted and ready to land.May 29 2020, 9:02 AM
nicolasvasilache marked 2 inline comments as done.

Fix test.

mlir/test/Dialect/Linalg/transform-patterns.mlir
2

sorry, had forgotten to updated, the syntax was wrong and I was debugging.

Thanks!

This revision was automatically updated to reflect the committed changes.