[all-commits] [llvm/llvm-project] b056d0: [mlir][sparse] Refactor the convert operator conve...
Bixia Zheng via All-commits
all-commits at lists.llvm.org
Fri Oct 21 08:53:01 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b056d0bb691134c01e426851ab8217e2cdb573e2
https://github.com/llvm/llvm-project/commit/b056d0bb691134c01e426851ab8217e2cdb573e2
Author: bixia1 <bixia at google.com>
Date: 2022-10-21 (Fri, 21 Oct 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/convert_dense2sparse.mlir
Log Message:
-----------
[mlir][sparse] Refactor the convert operator conversion to support codegen for the operator.
Outline the code that generates the loop structure to iterate over a dense
tensor or a sparse constant to genDenseTensorOrSparseConstantIterLoop.
Move a few routines to CodegenUtils for sharing.
Reviewed By: wrengr
Differential Revision: https://reviews.llvm.org/D136210
More information about the All-commits
mailing list