[mlir][sparse] fully implement sparse tensor to sparse tensor conversions
authorAart Bik <ajcbik@google.com>
Thu, 26 Aug 2021 05:23:46 +0000 (22:23 -0700)
committerAart Bik <ajcbik@google.com>
Fri, 27 Aug 2021 22:08:18 +0000 (15:08 -0700)
commit0a7b8cc5dd8efadeef07bf6e4e93c7df2ebe7220
tree37c22a6c56918403687b47e072fe129761065dbe
parent063af63b9664151b3a9206feefa9a6a36a471e80
[mlir][sparse] fully implement sparse tensor to sparse tensor conversions

with rigorous integration test

Reviewed By: bixia

Differential Revision: https://reviews.llvm.org/D108721
mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorConversion.cpp
mlir/test/Dialect/SparseTensor/conversion.mlir
mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conversion.mlir [new file with mode: 0644]