Skip to content

Commit dcf646a

Browse files
author
Peiming Liu
committed
[mlir][sparse] fix mismatch between enter/exitWhileLoop
1 parent 594b92a commit dcf646a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Dialect/SparseTensor/Transforms/Utils/LoopEmitter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ Operation *LoopEmitter::enterCoIterationOverTensorsAtLvls(
599599

600600
// NOTE: we can also prepare for next dim here in advance
601601
// Pushes the loop into stack.
602-
loopStack.emplace_back(tidLvls, l, builder.getInsertionBlock(), iv, loopTag);
602+
loopStack.emplace_back(tls, l, builder.getInsertionBlock(), iv, loopTag);
603603
return l;
604604
}
605605

0 commit comments

Comments
 (0)