[all-commits] [llvm/llvm-project] 123e8d: [mlir][sparse] add support for std unary operations

Aart Bik via All-commits all-commits at lists.llvm.org
Tue Jul 13 14:51:36 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 123e8dfcf86a74eb7ba08f33681df581d1be9dbd
      https://github.com/llvm/llvm-project/commit/123e8dfcf86a74eb7ba08f33681df581d1be9dbd
  Author: Aart Bik <ajcbik at google.com>
  Date:   2021-07-13 (Tue, 13 Jul 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/SparseTensor/Utils/Merger.h
    M mlir/lib/Dialect/SparseTensor/Transforms/Sparsification.cpp
    M mlir/lib/Dialect/SparseTensor/Utils/Merger.cpp
    M mlir/test/Dialect/SparseTensor/sparse_fp_ops.mlir
    M mlir/test/Dialect/SparseTensor/sparse_int_ops.mlir
    M mlir/unittests/Dialect/SparseTensor/MergerTest.cpp

  Log Message:
  -----------
  [mlir][sparse] add support for std unary operations

Adds zero-preserving unary operators from std. Also adds xor.
Performs minor refactoring to remove "zero" node, and pushed
the irregular logic for negi (not support in std) into one place.

Reviewed By: gussmith23

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




More information about the All-commits mailing list