[all-commits] [llvm/llvm-project] b7188d: [mlir][sparse] replace specialized buffer setup wi...

Aart Bik via All-commits all-commits at lists.llvm.org
Mon Oct 9 08:51:12 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b7188d28774f28fa5b95557f099d1b4edadb6307
      https://github.com/llvm/llvm-project/commit/b7188d28774f28fa5b95557f099d1b4edadb6307
  Author: Aart Bik <39774503+aartbik at users.noreply.github.com>
  Date:   2023-10-09 (Mon, 09 Oct 2023)

  Changed paths:
    M mlir/include/mlir/ExecutionEngine/SparseTensorRuntime.h
    M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorConversion.cpp
    M mlir/lib/ExecutionEngine/SparseTensorRuntime.cpp
    M mlir/test/Dialect/SparseTensor/conversion.mlir
    M mlir/test/Dialect/SparseTensor/convert_dense2sparse.mlir
    M mlir/test/Dialect/SparseTensor/convert_sparse2dense.mlir
    M mlir/test/Dialect/SparseTensor/convert_sparse2sparse.mlir
    M mlir/test/Dialect/SparseTensor/sparse_fill_zero.mlir

  Log Message:
  -----------
  [mlir][sparse] replace specialized buffer setup with util code (#68461)

This completely centralizes all set up related to dim2lvl and lvl2dim
for the runtime library (and even parts of direct IR codegen) into one
place! And all comptatible with the MapRef data structure that should be
used in all remaining clients of dim2lvl and lvl2dim.

NOTE: the convert_x2y.mlir tests were becoming too overloaded
      so I decided to bring them back to the basics; if e.g.
      more coverage of the foreach is required, they should
      go into isolated smalle tests




More information about the All-commits mailing list