[all-commits] [llvm/llvm-project] ba10da: [mlir][Vector] Add more vector.contract -> outerpr...
Nicolas Vasilache via All-commits
all-commits at lists.llvm.org
Tue May 26 12:45:27 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: ba10daa820fa868816eed2b85e70197d354ebfe6
https://github.com/llvm/llvm-project/commit/ba10daa820fa868816eed2b85e70197d354ebfe6
Author: Nicolas Vasilache <ntv at google.com>
Date: 2020-05-26 (Tue, 26 May 2020)
Changed paths:
M mlir/include/mlir/Dialect/Utils/StructuredOpsUtils.h
M mlir/lib/Dialect/Vector/VectorOps.cpp
M mlir/lib/Dialect/Vector/VectorTransforms.cpp
M mlir/test/Dialect/Vector/invalid.mlir
M mlir/test/Dialect/Vector/ops.mlir
M mlir/test/Dialect/Vector/vector-contract-transforms.mlir
Log Message:
-----------
[mlir][Vector] Add more vector.contract -> outerproduct lowerings and fix vector.contract type inference.
This revision expands the types of vector contractions that can be lowered to vector.outerproduct.
All 8 permutation cases are support.
The idiomatic manipulation of AffineMap written declaratively makes this straightforward.
In the process a bug with the vector.contract verifier was uncovered.
The vector shape verification part of the contract op is rewritten to use AffineMap composition.
One bug in the vector `ops.mlir` test is fixed and a new case not yet captured is added
to the vector`invalid.mlir` test.
Differential Revision: https://reviews.llvm.org/D80393
More information about the All-commits
mailing list