[Mlir-commits] [mlir] [mlir][sparse] Populate lvlToDim (PR #68937)
Peiming Liu
llvmlistbot at llvm.org
Thu Oct 12 17:39:22 PDT 2023
================
@@ -811,7 +875,7 @@ RankedTensorType sparse_tensor::getCOOFromTypeWithOrdering(RankedTensorType rtt,
// default value.
unsigned posWidth = src.getPosWidth();
unsigned crdWidth = src.getCrdWidth();
- AffineMap invPerm; // TODO
+ auto invPerm = src.getLvlToDim();
----------------
PeimingLiu wrote:
Revert the change here, do not use auto unless the type is obvious.
https://github.com/llvm/llvm-project/pull/68937
More information about the Mlir-commits
mailing list