[all-commits] [llvm/llvm-project] 89aaa2: [mlir][vector] Add new lowering mode to vector.con...
Thomas via All-commits
all-commits at lists.llvm.org
Tue May 24 07:23:57 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 89aaa2d033270d6eeeb82429c0bb88a78ae030fa
https://github.com/llvm/llvm-project/commit/89aaa2d033270d6eeeb82429c0bb88a78ae030fa
Author: Thomas Raoux <thomasraoux at google.com>
Date: 2022-05-24 (Tue, 24 May 2022)
Changed paths:
M mlir/include/mlir/Dialect/Vector/Transforms/VectorRewritePatterns.h
M mlir/lib/Dialect/Vector/Transforms/VectorTransforms.cpp
M mlir/test/Dialect/Vector/vector-contract-transforms.mlir
M mlir/test/lib/Dialect/Vector/TestVectorTransforms.cpp
Log Message:
-----------
[mlir][vector] Add new lowering mode to vector.contractionOp
Add lowering for cases where the reduction dimension is fully unrolled.
It is common to unroll the reduction dimension, therefore we would want
to lower the contractions to an elementwise vector op in this case.
Differential Revision: https://reviews.llvm.org/D126120
More information about the All-commits
mailing list