[mlir][Linalg] Add a test for a fused Linalg pass based on DRR to go from matmul...
authorNicolas Vasilache <ntv@google.com>
Wed, 8 Apr 2020 18:53:37 +0000 (14:53 -0400)
committerNicolas Vasilache <ntv@google.com>
Wed, 8 Apr 2020 20:54:40 +0000 (16:54 -0400)
commit6fb6a4d7f972d8faacd6b2646fe15f2eea1e4915
tree85c82b5d3d0c85f359479281acb9010210e3455f
parentc6e917d2d3ea07960721923230c34abe3b6214cc
[mlir][Linalg] Add a test for a fused Linalg pass based on DRR to go from matmul to vectors

This revision builds a simple "fused pass" consisting of 2 levels of tiling, memory promotion and vectorization using linalg transformations written as composable pattern rewrites.
mlir/test/Dialect/Linalg/matmul-to-vector.mlir [new file with mode: 0644]
mlir/test/lib/DeclarativeTransforms/CMakeLists.txt
mlir/test/lib/DeclarativeTransforms/TestLinalgMatmulToVectorPatterns.td [new file with mode: 0644]
mlir/test/lib/Transforms/CMakeLists.txt
mlir/test/lib/Transforms/TestLinalgMatmulToVector.cpp [new file with mode: 0644]
mlir/tools/mlir-opt/mlir-opt.cpp