[mlir][sparse] fix sparse tensor rewriting patterns that do not propagate sparse...
authorPeiming Liu <peiming@google.com>
Fri, 4 Nov 2022 19:35:29 +0000 (19:35 +0000)
committerPeiming Liu <peiming@google.com>
Fri, 4 Nov 2022 23:43:54 +0000 (23:43 +0000)
commit70508b614e6478ba2c3fc79e935e2c68e2d79b71
treeb188eb338a9b2be3400f4254ec2d656f66c342e9
parent7ded25c0cb298f474ffc1d9691a7d7c57c08c9f6
[mlir][sparse] fix sparse tensor rewriting patterns that do not propagate sparse tensor SSA properly.

Reviewed By: aartbik

Differential Revision: https://reviews.llvm.org/D137468
mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
mlir/lib/Dialect/SparseTensor/Transforms/CodegenUtils.cpp
mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorRewriting.cpp
mlir/test/Dialect/SparseTensor/convert_dense2sparse.mlir
mlir/test/Dialect/SparseTensor/convert_sparse2sparse.mlir
mlir/test/Dialect/SparseTensor/rewriting_for_codegen.mlir
mlir/test/Dialect/SparseTensor/sparse_concat_codegen.mlir
mlir/test/Dialect/SparseTensor/sparse_reshape.mlir