[all-commits] [llvm/llvm-project] f3fd73: [mlir][sparse] Improve the rewriting for NewOp wit...

Bixia Zheng via All-commits all-commits at lists.llvm.org
Mon Jan 9 14:40:46 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f3fd739d39abd3bee289e00a7ae9a4602d995cbb
      https://github.com/llvm/llvm-project/commit/f3fd739d39abd3bee289e00a7ae9a4602d995cbb
  Author: bixia1 <bixia at google.com>
  Date:   2023-01-09 (Mon, 09 Jan 2023)

  Changed paths:
    M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorRewriting.cpp
    M mlir/test/Dialect/SparseTensor/rewriting_for_codegen.mlir

  Log Message:
  -----------
  [mlir][sparse] Improve the rewriting for NewOp with dimension ordering.

Previously, we use a temporary tensor with identity ordering. We now use a
temporary tensor with the destination dimension ordering, to enable the use of
sort_coo for sorting the tensor.

Reviewed By: Peiming

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




More information about the All-commits mailing list