[all-commits] [llvm/llvm-project] 6a38c7: [mlir][sparse] fixed bug with unary op, dense output

Aart Bik via All-commits all-commits at lists.llvm.org
Fri Jun 2 18:15:58 PDT 2023

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

  Changed paths:
    M mlir/lib/Dialect/SparseTensor/Transforms/Sparsification.cpp
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_unary.mlir

  Log Message:
  [mlir][sparse] fixed bug with unary op, dense output

Note that by sparse compiler convention, dense output
is zerod out when not set, so complement results in
zeros where elements were present.

Reviewed By: wrengr

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

More information about the All-commits mailing list