[all-commits] [llvm/llvm-project] e2167d: [mlir][sparse] refine absent branch feeding into c...

Aart Bik via All-commits all-commits at lists.llvm.org
Tue Jun 6 09:57:33 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e2167d89dba0a276ff756b80b5f4a1ebcb83a611
      https://github.com/llvm/llvm-project/commit/e2167d89dba0a276ff756b80b5f4a1ebcb83a611
  Author: Aart Bik <ajcbik at google.com>
  Date:   2023-06-06 (Tue, 06 Jun 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td
    M mlir/lib/Dialect/SparseTensor/Transforms/Sparsification.cpp
    A mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_reduce_custom_sum.mlir

  Log Message:
  -----------
  [mlir][sparse] refine absent branch feeding into custom op

Document better that unary/binary may only feed to the output
or the input of a custom reduction (not even a regular reduction
since it may have "no value"!). Also fixes a bug when present
branch is empty and feeds into custom reduction.

Reviewed By: Peiming

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




More information about the All-commits mailing list