[all-commits] [llvm/llvm-project] 291025: [mlir][vector] Refactor Vector Unrolling and remov...
Thomas via All-commits
all-commits at lists.llvm.org
Wed Jul 7 11:11:56 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 291025389c2c84cde840c54f6c400d59d79be8b9
https://github.com/llvm/llvm-project/commit/291025389c2c84cde840c54f6c400d59d79be8b9
Author: thomasraoux <thomasraoux at google.com>
Date: 2021-07-07 (Wed, 07 Jul 2021)
Changed paths:
M mlir/include/mlir/Dialect/Vector/VectorOps.h
M mlir/include/mlir/Dialect/Vector/VectorOps.td
M mlir/include/mlir/Dialect/Vector/VectorTransforms.h
M mlir/include/mlir/Dialect/Vector/VectorUtils.h
M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVMPass.cpp
M mlir/lib/Dialect/Vector/VectorOps.cpp
M mlir/lib/Dialect/Vector/VectorTransforms.cpp
M mlir/lib/Dialect/Vector/VectorUtils.cpp
M mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
M mlir/test/Dialect/Vector/invalid.mlir
M mlir/test/Dialect/Vector/ops.mlir
R mlir/test/Dialect/Vector/vector-slices-transforms.mlir
M mlir/test/Dialect/Vector/vector-transfer-unroll.mlir
M mlir/test/Dialect/Vector/vector-transforms.mlir
M mlir/test/Integration/Dialect/Vector/CPU/test-contraction.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-extract-slices.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-insert-slices.mlir
M mlir/test/Integration/Dialect/Vector/CPU/test-transpose.mlir
M mlir/test/lib/Dialect/Vector/TestVectorTransforms.cpp
Log Message:
-----------
[mlir][vector] Refactor Vector Unrolling and remove Tuple ops
Simplify vector unrolling pattern to be more aligned with rest of the
patterns and be closer to vector distribution.
The new implementation uses ExtractStridedSlice/InsertStridedSlice
instead of the Tuple ops. After this change the ops based on Tuple don't
have any more used so they can be removed.
This allows removing signifcant amount of dead code and will allow
extending the unrolling code going forward.
Differential Revision: https://reviews.llvm.org/D105381
More information about the All-commits
mailing list