[all-commits] [llvm/llvm-project] b194ef: [mlir][spirv][vector] Add pattern to convert reduc...
Jakub Kuderski via All-commits
all-commits at lists.llvm.org
Fri Mar 10 10:56:59 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b194ef692cf3965bac141af31a69428b4f6ae2df
https://github.com/llvm/llvm-project/commit/b194ef692cf3965bac141af31a69428b4f6ae2df
Author: Jakub Kuderski <kubak at google.com>
Date: 2023-03-10 (Fri, 10 Mar 2023)
Changed paths:
M mlir/include/mlir/Conversion/VectorToSPIRV/VectorToSPIRV.h
M mlir/lib/Conversion/VectorToSPIRV/CMakeLists.txt
M mlir/lib/Conversion/VectorToSPIRV/VectorToSPIRV.cpp
A mlir/test/Conversion/VectorToSPIRV/vector-reduction-to-spirv-dot-prod.mlir
M mlir/test/lib/Conversion/CMakeLists.txt
A mlir/test/lib/Conversion/VectorToSPIRV/CMakeLists.txt
A mlir/test/lib/Conversion/VectorToSPIRV/TestVectorReductionToSPIRVDotProd.cpp
M mlir/tools/mlir-opt/CMakeLists.txt
M mlir/tools/mlir-opt/mlir-opt.cpp
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
M utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel
Log Message:
-----------
[mlir][spirv][vector] Add pattern to convert reduction to SPIR-V dot prod
This converts a specific form of `vector.reduction` to SPIR-V integer
dot product ops.
Add a new test pass to excercise this outside of the main vector to
spirv conversion pass.
Reviewed By: antiagainst
Differential Revision: https://reviews.llvm.org/D145760
More information about the All-commits
mailing list