[Mlir-commits] [mlir] [mlir][SCF] Improve `ForOp::getSuccessorRegions` (PR #177116)
Matthias Springer
llvmlistbot at llvm.org
Wed Jan 21 01:12:46 PST 2026
================
@@ -361,7 +361,7 @@ func.func private @use_i64(i64)
// CHECK-LABEL: func.func @loop_with_iter_arg
func.func @loop_with_iter_arg() {
%c0 = arith.constant 0 : index
- %c1 = arith.constant 0 : index
+ %c1 = arith.constant 1 : index
----------------
matthias-springer wrote:
You're right, there's something fishy here. Actually, the trip count should be "infinite", but `getStaticTripCount()` returns "0". So it looks like there is a bug in `getStaticTripCount()`. Let me check...
https://github.com/llvm/llvm-project/pull/177116
More information about the Mlir-commits
mailing list