[all-commits] [llvm/llvm-project] 8c5ad0: [mlir][Vector] Add a masked vectorization of tenso...
Nicolas Vasilache via All-commits
all-commits at lists.llvm.org
Thu Apr 13 13:20:42 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8c5ad0a2f6532cec2f6841cc3e9a1ea043409398
https://github.com/llvm/llvm-project/commit/8c5ad0a2f6532cec2f6841cc3e9a1ea043409398
Author: Nicolas Vasilache <nicolas.vasilache at gmail.com>
Date: 2023-04-13 (Thu, 13 Apr 2023)
Changed paths:
M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
M mlir/include/mlir/Dialect/Vector/IR/VectorOps.td
M mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
M mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
M mlir/test/Dialect/Linalg/vectorization.mlir
Log Message:
-----------
[mlir][Vector] Add a masked vectorization of tensor.pad
This revision takes advantage of masking support to introduce a vectorized
version of pad that does not require lowering to lower-level form.
Lowering to lower-level form (if/else + generate + fill + copy + insert_slice)
creates unnecessary complexity that can be completely sidestepped by using
masked vectorization properly.
Differential Revision: https://reviews.llvm.org/D148261
More information about the All-commits
mailing list