[all-commits] [llvm/llvm-project] ca01c9: [mlir][sparse] Add SparseTensorStorageExpansion Pa...

PeimingLiu via All-commits all-commits at lists.llvm.org
Thu Sep 1 15:47:49 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ca01c996b2185af08e076d92b39afd96e0567faf
      https://github.com/llvm/llvm-project/commit/ca01c996b2185af08e076d92b39afd96e0567faf
  Author: Peiming Liu <peiming at google.com>
  Date:   2022-09-01 (Thu, 01 Sep 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.h
    M mlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.td
    M mlir/lib/Dialect/SparseTensor/Transforms/CMakeLists.txt
    M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorPasses.cpp
    A mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorStorageExpansion.cpp
    A mlir/test/Dialect/SparseTensor/sparse_tensor_storage.mlir

  Log Message:
  -----------
  [mlir][sparse] Add SparseTensorStorageExpansion Pass to expand compounded sparse tensor tuples

This patch adds SparseTensorStorageExpansion pass, it flattens the tuple used to store a sparse
tensor handle.

Right now, it only set up the skeleton for the pass, more lowering rules for sparse tensor storage
operation need to be added.

Reviewed By: aartbik

Differential Revision: https://reviews.llvm.org/D133125




More information about the All-commits mailing list