[all-commits] [llvm/llvm-project] 6607fd: [mlir][sparse] add memSizes array to sparse storag...

Aart Bik via All-commits all-commits at lists.llvm.org
Mon Sep 12 14:04:20 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6607fdf7490c5bf73a8892bc08ed2dba55043ca8
      https://github.com/llvm/llvm-project/commit/6607fdf7490c5bf73a8892bc08ed2dba55043ca8
  Author: Aart Bik <ajcbik at google.com>
  Date:   2022-09-12 (Mon, 12 Sep 2022)

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

  Log Message:
  -----------
  [mlir][sparse] add memSizes array to sparse storage format

Rationale:
For every dynamic memref (memref<?xtype>), the stored size really
indicates the capacity and the entry in the memSizes indicates
the actual size. This allows us to use memref's as "vectors".

Reviewed By: Peiming

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




More information about the All-commits mailing list