[all-commits] [llvm/llvm-project] 062e51: [mlir][sparse] Add rewrite rule for the sort opera...

Bixia Zheng via All-commits all-commits at lists.llvm.org
Thu Sep 29 11:38:36 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 062e515b701930a17e3d6b75b3a27cb4d9a6f984
      https://github.com/llvm/llvm-project/commit/062e515b701930a17e3d6b75b3a27cb4d9a6f984
  Author: bixia1 <bixia at google.com>
  Date:   2022-09-29 (Thu, 29 Sep 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.h
    M mlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.td
    M mlir/lib/Dialect/SparseTensor/Pipelines/SparseTensorPipelines.cpp
    M mlir/lib/Dialect/SparseTensor/Transforms/CMakeLists.txt
    A mlir/lib/Dialect/SparseTensor/Transforms/SparseBufferRewriting.cpp
    M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorPasses.cpp
    A mlir/test/Dialect/SparseTensor/buffer_rewriting.mlir
    A mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_rewrite_sort.mlir

  Log Message:
  -----------
  [mlir][sparse] Add rewrite rule for the sort operator.

Add sparse-buffer-rewrite pass to rewrite sparse primitives on buffers to MLIR
implementation.

Add sparse rewrite rule for the sort operator.

Add FileCheck test and integration test.

Reviewed By: aartbik

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




More information about the All-commits mailing list