[all-commits] [llvm/llvm-project] df5ccf: [mlir][vector] add higher dimensional support to g...
Aart Bik via All-commits
all-commits at lists.llvm.org
Fri Feb 26 14:20:45 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: df5ccf5a94ad04231e8426dd0d02689a0717453b
https://github.com/llvm/llvm-project/commit/df5ccf5a94ad04231e8426dd0d02689a0717453b
Author: Aart Bik <ajcbik at google.com>
Date: 2021-02-26 (Fri, 26 Feb 2021)
Changed paths:
M mlir/include/mlir/Dialect/Vector/VectorOps.td
M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
M mlir/lib/Dialect/Linalg/Transforms/Sparsification.cpp
M mlir/lib/Dialect/Vector/VectorOps.cpp
M mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
M mlir/test/Dialect/Linalg/sparse_vector.mlir
M mlir/test/Dialect/Vector/canonicalize.mlir
M mlir/test/Dialect/Vector/invalid.mlir
M mlir/test/Dialect/Vector/ops.mlir
M mlir/test/Dialect/Vector/vector-mem-transforms.mlir
M mlir/test/Integration/Dialect/Vector/CPU/test-gather.mlir
M mlir/test/Integration/Dialect/Vector/CPU/test-scatter.mlir
M mlir/test/Integration/Dialect/Vector/CPU/test-sparse-dot-matvec.mlir
M mlir/test/Integration/Dialect/Vector/CPU/test-sparse-saxpy-jagged-matvec.mlir
Log Message:
-----------
[mlir][vector] add higher dimensional support to gather/scatter
Similar to mask-load/store and compress/expand, the gather and
scatter operation now allow for higher dimension uses. Note that
to support the mixed-type index, the new syntax is:
vector.gather %base [%i,%j] [%kvector] ....
The first client of this generalization is the sparse compiler,
which needs to define scatter and gathers on dense operands
of higher dimensions too.
Reviewed By: bixia
Differential Revision: https://reviews.llvm.org/D97422
More information about the All-commits
mailing list