[all-commits] [llvm/llvm-project] afc375: [mlir][vector] Masking support for reductions in L...
Diego Caballero via All-commits
all-commits at lists.llvm.org
Fri Jan 13 12:45:46 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: afc3756e6c6da68f066703f384aca6c2ffb54286
https://github.com/llvm/llvm-project/commit/afc3756e6c6da68f066703f384aca6c2ffb54286
Author: Diego Caballero <diegocaballero at google.com>
Date: 2023-01-13 (Fri, 13 Jan 2023)
Changed paths:
M mlir/include/mlir/Dialect/Vector/IR/VectorOps.h
M mlir/include/mlir/Dialect/Vector/IR/VectorOps.td
M mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
M mlir/lib/Dialect/Vector/Transforms/VectorMultiDimReductionTransforms.cpp
M mlir/test/Dialect/Linalg/vectorization.mlir
M mlir/test/Dialect/Vector/vector-multi-reduction-lowering.mlir
Log Message:
-----------
[mlir][vector] Masking support for reductions in Linalg vectorizer
This patch enables vectorization of reductions in Linalg vectorizer
using the vector.mask operation. It also introduces the logic to slice
and propagate the vector mask of a masked multi-reduction to their
respective lowering operations.
Reviewed By: nicolasvasilache
Differential Revision: https://reviews.llvm.org/D141571
More information about the All-commits
mailing list