[PATCH] D73145: [mlir][Linalg] Add a Linalg DRR test to go from matmul to vectors
Nicolas Vasilache via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 21 15:55:00 PST 2020
nicolasvasilache created this revision.
nicolasvasilache added a reviewer: ftynse.
Herald added subscribers: llvm-commits, liufengdb, aartbik, lucyrfox, mgester, arpith-jacob, antiagainst, shauheen, burmako, jpienaar, rriddle, mehdi_amini, dexonsmith, steven_wu, hiraditya, mgorny.
Herald added a project: LLVM.
nicolasvasilache updated this revision to Diff 239450.
nicolasvasilache added a comment.
Remove spurious pattern.
Fix comment.
This diff builds a simple fused pass consisting of 2 levels of tiling, memory promotion
and vectorization using linalg transformations written as composable pattern rewrites.
An extra canonicalization is needed to make all this work end-to-end.
This canonicalization will probably move to LinalgOps.cpp in the future, when things
stabilize.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D73145
Files:
mlir/test/Dialect/Linalg/matmul-to-vector.mlir
mlir/test/lib/DeclarativeTransforms/CMakeLists.txt
mlir/test/lib/DeclarativeTransforms/TestLinalgMatmulToVectorPatterns.td
mlir/test/lib/Transforms/CMakeLists.txt
mlir/test/lib/Transforms/TestLinalgMatmulToVector.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73145.239450.patch
Type: text/x-patch
Size: 9870 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200121/c9642fe3/attachment-0001.bin>
More information about the llvm-commits
mailing list