[Mlir-commits] [mlir] [mlir][sparse] fix mismatch between `enter/exitWhileLoop` (PR #79493)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu Jan 25 12:02:22 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-mlir
Author: Peiming Liu (PeimingLiu)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/79493.diff
1 Files Affected:
- (modified) mlir/lib/Dialect/SparseTensor/Transforms/Utils/LoopEmitter.cpp (+1-1)
``````````diff
diff --git a/mlir/lib/Dialect/SparseTensor/Transforms/Utils/LoopEmitter.cpp b/mlir/lib/Dialect/SparseTensor/Transforms/Utils/LoopEmitter.cpp
index 0ce6a9efce1c81a..6d832fdc0c2201e 100644
--- a/mlir/lib/Dialect/SparseTensor/Transforms/Utils/LoopEmitter.cpp
+++ b/mlir/lib/Dialect/SparseTensor/Transforms/Utils/LoopEmitter.cpp
@@ -599,7 +599,7 @@ Operation *LoopEmitter::enterCoIterationOverTensorsAtLvls(
// NOTE: we can also prepare for next dim here in advance
// Pushes the loop into stack.
- loopStack.emplace_back(tidLvls, l, builder.getInsertionBlock(), iv, loopTag);
+ loopStack.emplace_back(tls, l, builder.getInsertionBlock(), iv, loopTag);
return l;
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/79493
More information about the Mlir-commits
mailing list