[Mlir-commits] [mlir] [mlir][SCF] Improve `ForOp::getSuccessorRegions` (PR #177116)
lonely eagle
llvmlistbot at llvm.org
Wed Jan 21 01:04: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
----------------
linuxlonelyeagle wrote:
My understanding is: for scf.for %iv = %c0 to %c16 step %c1, if %c1 equals 0, would the calculated trip count be 0?
https://github.com/llvm/llvm-project/pull/177116
More information about the Mlir-commits
mailing list