[all-commits] [llvm/llvm-project] 11069c: [mlir][sparse] refactoring: split translateIndices.
PeimingLiu via All-commits
all-commits at lists.llvm.org
Thu Sep 29 16:59:56 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 11069cbcb47845074d526490fff8daff8afda11d
https://github.com/llvm/llvm-project/commit/11069cbcb47845074d526490fff8daff8afda11d
Author: Peiming Liu <peiming at google.com>
Date: 2022-09-29 (Thu, 29 Sep 2022)
Changed paths:
M mlir/lib/Dialect/SparseTensor/Transforms/CodegenUtils.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/CodegenUtils.h
M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorConversion.cpp
M mlir/test/Dialect/SparseTensor/sparse_reshape.mlir
Log Message:
-----------
[mlir][sparse] refactoring: split translateIndices.
TranslateIndicesArray take an array of SSA value and convert them into another array of SSA values based on reassociation. Which makes it easier to be reused by `foreach` operator (as the indices array are given as an array of SSA values).
Reviewed By: aartbik, bixia
Differential Revision: https://reviews.llvm.org/D134918
More information about the All-commits
mailing list