Permutation wasn't handled correctly. Add a test for the rewriting.
Extend an integration test to run with enable_runtime_library=false to
also test the rewriting.
Paths
| Differential D137845
[mlir][sparse] Fix a bug in rewriting dense2dense convert op. ClosedPublic Authored by bixia on Nov 11 2022, 7:51 AM.
Details Summary Permutation wasn't handled correctly. Add a test for the rewriting. Extend an integration test to run with enable_runtime_library=false to
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Nov 11 2022, 9:03 AM This revision was landed with ongoing or failed builds.Nov 11 2022, 9:12 AM Closed by commit rG57416d872ae0: [mlir][sparse] Fix a bug in rewriting dense2dense convert op. (authored by bixia). · Explain Why This revision was automatically updated to reflect the committed changes. Comment Actions LGTM with two nits
Revision Contents
Diff 474790 mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorRewriting.cpp
mlir/test/Dialect/SparseTensor/convert_sparse2sparse.mlir
mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_sorted_coo.mlir
|
I would move this to L654 (i.e. after the comment describing what is done)