[all-commits] [llvm/llvm-project] 57416d: [mlir][sparse] Fix a bug in rewriting dense2dense ...

Bixia Zheng via All-commits all-commits at lists.llvm.org
Fri Nov 11 09:12:08 PST 2022


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

  Changed paths:
    M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorRewriting.cpp
    M mlir/test/Dialect/SparseTensor/convert_sparse2sparse.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_sorted_coo.mlir

  Log Message:
  -----------
  [mlir][sparse] Fix a bug in rewriting dense2dense convert op.

Permutation wasn't handled correctly. Add a test for the rewriting.

Extend an integration test to run with enable_runtime_library=false to
also test the rewriting.

Reviewed By: Peiming

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




More information about the All-commits mailing list