[Mlir-commits] [mlir] [mlir][scf] Do not coalesce when an inner loop reads an outer iter_arg (PR #216853)
Federico Bruzzone
llvmlistbot at llvm.org
Sat Sep 5 01:07:30 PDT 2026
================
@@ -489,3 +489,27 @@ func.func @inner_loop_yields_induction_var() -> index {
}
return %r : index
}
+
+// -----
+
+// Verify that coalescing is not attempted when the body of the inner loop reads
+// an iteration argument of the outer loop directly. That value is fixed for a
+// whole run of the inner loop, whereas the value carried by the coalesced loop
+// is updated on every iteration.
----------------
FedericoBruzzone wrote:
Please, remove this comment :D
https://github.com/llvm/llvm-project/pull/216853
More information about the Mlir-commits
mailing list