[mlir][sparse] Improve the rewriting for NewOp with dimension ordering.
Previously, we use a temporary tensor with identity ordering. We now use a temporary tensor with the destination dimension ordering, to enable the use of sort_coo for sorting the tensor. Reviewed By: Peiming Differential Revision: https://reviews.llvm.org/D141295
Loading
Please sign in to comment