[all-commits] [llvm/llvm-project] 974b4b: [mlir][sparse] Add expand_symmetry attribute to th...

Bixia Zheng via All-commits all-commits at lists.llvm.org
Wed Nov 23 16:32:27 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 974b4bf9fdf89448f8369a9b69f19e27d8a7949d
      https://github.com/llvm/llvm-project/commit/974b4bf9fdf89448f8369a9b69f19e27d8a7949d
  Author: bixia1 <bixia at google.com>
  Date:   2022-11-23 (Wed, 23 Nov 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td
    M mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
    M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorRewriting.cpp
    M mlir/test/Dialect/SparseTensor/invalid.mlir
    M mlir/test/Dialect/SparseTensor/rewriting_for_codegen.mlir
    M mlir/test/Dialect/SparseTensor/roundtrip.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_sum.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_sum_c32.mlir

  Log Message:
  -----------
  [mlir][sparse] Add expand_symmetry attribute to the new operator.

The attribute tells the operator to handle symmetric structures for 2D tensors.
By default, the operator assumes the input tensor is not symmetric.

Reviewed By: aartbik

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




More information about the All-commits mailing list