[all-commits] [llvm/llvm-project] 885072: [mlir][Vector] Add a pattern to lower 2-D vector.t...
Nicolas Vasilache via All-commits
all-commits at lists.llvm.org
Tue Nov 2 15:12:58 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 885072820c4ededc5ffa570ba8fd89b001fb9f11
https://github.com/llvm/llvm-project/commit/885072820c4ededc5ffa570ba8fd89b001fb9f11
Author: Nicolas Vasilache <nicolas.vasilache at gmail.com>
Date: 2021-11-02 (Tue, 02 Nov 2021)
Changed paths:
M mlir/include/mlir/Dialect/Vector/VectorRewritePatterns.h
M mlir/lib/Dialect/Vector/VectorTransforms.cpp
A mlir/test/Dialect/Vector/vector-transpose-to-shuffle.mlir
M mlir/test/lib/Dialect/Vector/TestVectorTransforms.cpp
Log Message:
-----------
[mlir][Vector] Add a pattern to lower 2-D vector.transpose to shape_cast+shuffle.
The 2-D case can be rewritten to generate quite fewer instructions and a single vector.shuffle which seems to provide a nice performance boost.
Add this arrow to our quiver by exposing it with a new vector transform option.
Differential Revision: https://reviews.llvm.org/D113062
More information about the All-commits
mailing list