[all-commits] [llvm/llvm-project] a924fc: [mlir][sparse] add sparse kernels test to sparse c...

Aart Bik via All-commits all-commits at lists.llvm.org
Wed Sep 22 14:57:00 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a924fcc7c3193b50a64908c8480389de45801555
      https://github.com/llvm/llvm-project/commit/a924fcc7c3193b50a64908c8480389de45801555
  Author: Aart Bik <ajcbik at google.com>
  Date:   2021-09-22 (Wed, 22 Sep 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/SparseTensor/Utils/Merger.h
    M mlir/lib/Dialect/SparseTensor/Utils/Merger.cpp
    A mlir/test/Dialect/SparseTensor/sparse_kernels.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_filter_conv2d.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_quantized_matmul.mlir

  Log Message:
  -----------
  [mlir][sparse] add sparse kernels test to sparse compiler test suite

This test makes sure kernels map to efficient sparse code, i.e. all
compressed for-loops, no co-iterating while loops.  In addition, this
revision removes the special constant folding inside the sparse
compiler in favor of Mahesh' new generic linalg folding. Thanks!

NOTE: relies on Mahesh fix, which needs to be rebased first

Reviewed By: bixia

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




More information about the All-commits mailing list