[all-commits] [llvm/llvm-project] 58b449: [mlir][sparse] Replace the folding of nop convert ...

Bixia Zheng via All-commits all-commits at lists.llvm.org
Wed Oct 19 10:21:00 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 58b449c3bb9ddd49c9c840bdd4ed46135c1254e1
      https://github.com/llvm/llvm-project/commit/58b449c3bb9ddd49c9c840bdd4ed46135c1254e1
  Author: bixia1 <bixia at google.com>
  Date:   2022-10-19 (Wed, 19 Oct 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/SparseTensorCodegen.cpp
    M mlir/test/Dialect/SparseTensor/codegen.mlir
    M mlir/test/Dialect/SparseTensor/fold.mlir

  Log Message:
  -----------
  [mlir][sparse] Replace the folding of nop convert with a codegen rule.

This is to allow the use of a nop convert to express that the sparse tensor
allocated through bufferization::AllocTensorOp will be expanded to sparse
tensor storage by sparse tensor codegen.

Reviewed By: aartbik

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




More information about the All-commits mailing list