[all-commits] [llvm/llvm-project] 80b08b: [mlir][sparse] add a cursor to sparse storage scheme

Aart Bik via All-commits all-commits at lists.llvm.org
Thu Oct 27 11:19:14 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 80b08b68f219949a6479aeff6a54e3e5129ce7dc
      https://github.com/llvm/llvm-project/commit/80b08b68f219949a6479aeff6a54e3e5129ce7dc
  Author: Aart Bik <ajcbik at google.com>
  Date:   2022-10-27 (Thu, 27 Oct 2022)

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

  Log Message:
  -----------
  [mlir][sparse] add a cursor to sparse storage scheme

This prepare a subsequent revision that will generalize
the insertion code generation. Similar to the support lib,
insertions become much easier to perform with some "cursor"
bookkeeping. Note that we, in the long run, could perhaps
avoid storing the "cursor" permanently and use some
retricted-scope solution (alloca?) instead. However,
that puts harder restrictions on insertion-chain operations,
so for now we follow the more straightforward approach.

Reviewed By: Peiming

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




More information about the All-commits mailing list