[all-commits] [llvm/llvm-project] d37d72: [mlir][sparse] use shared util for DimOp generation
Aart Bik via All-commits
all-commits at lists.llvm.org
Wed Aug 18 17:12:57 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d37d72eaf87e386a885d9ce968ecdebebcd9757f
https://github.com/llvm/llvm-project/commit/d37d72eaf87e386a885d9ce968ecdebebcd9757f
Author: Aart Bik <ajcbik at google.com>
Date: 2021-08-18 (Wed, 18 Aug 2021)
Changed paths:
M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorConversion.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/Sparsification.cpp
M mlir/test/Dialect/SparseTensor/conversion.mlir
A mlir/test/Dialect/SparseTensor/sparse_perm_lower.mlir
Log Message:
-----------
[mlir][sparse] use shared util for DimOp generation
This shares more code with existing utilities. Also, to be consistent,
we moved dimension permutation on the DimOp to the tensor lowering phase.
This way, both pre-existing DimOps on sparse tensors (not likely but
possible) as well as compiler generated DimOps are handled consistently.
Reviewed By: bixia
Differential Revision: https://reviews.llvm.org/D108309
More information about the All-commits
mailing list