[mlir][sparse] fix incorrect coordinates ordering computed by the foreach operation.
authorPeiming Liu <peiming@google.com>
Sat, 12 Nov 2022 01:00:44 +0000 (01:00 +0000)
committerPeiming Liu <peiming@google.com>
Sat, 12 Nov 2022 04:08:50 +0000 (04:08 +0000)
commit725e0849b75d3391eb304bb2ee6f1910118ffb41
treeb3b60d5b57805596ddad585cb6462787410b23c9
parent35155ee7d3d5f69657ec77f3bd220db81c64d62f
[mlir][sparse] fix incorrect coordinates ordering computed by the foreach operation.

Reviewed By: aartbik

Differential Revision: https://reviews.llvm.org/D137877
mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorRewriting.cpp
mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_codegen_foreach.mlir