Skip to content

Commit 982c815

Browse files
authored
[mlir][sparse] fix mismatch between enter/exitWhileLoop (#79493)
1 parent 720769d commit 982c815

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
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

mlir/test/Integration/Dialect/SparseTensor/CPU/reshape_dot.mlir

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
// DEFINE: %{env} =
1818
//--------------------------------------------------------------------------------------------------
1919

20-
// UNSUPPORTED: target={{.*}}
21-
2220
// RUN: %{compile} | %{env} %{run} | FileCheck %s
2321
//
2422
// Do the same run, but now with direct IR generation.

0 commit comments

Comments
 (0)