[all-commits] [llvm/llvm-project] f767f0: [mlir][sparse] sparse storage scheme type conversion

Aart Bik via All-commits all-commits at lists.llvm.org
Wed Aug 31 15:13:15 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f767f0925268981272e0b48cbc3709d761b5600e
      https://github.com/llvm/llvm-project/commit/f767f0925268981272e0b48cbc3709d761b5600e
  Author: Aart Bik <ajcbik at google.com>
  Date:   2022-08-31 (Wed, 31 Aug 2022)

  Changed paths:
    M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorCodegen.cpp
    M mlir/test/Dialect/SparseTensor/codegen.mlir

  Log Message:
  -----------
  [mlir][sparse] sparse storage scheme type conversion

This builds a compound type for the buffers required for the sparse storage scheme defined by the MLIR sparse tensor types. The use of a tuple allows for a simple 1:1 type conversion. A subsequent pass can expand this tuple into its component with an isolated 1:N type conversion.

Reviewed By: Peiming

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




More information about the All-commits mailing list