[Mlir-commits] [mlir] [MLIR] Introduce support for early exits (PR #166688)

Matthias Springer llvmlistbot at llvm.org
Fri Jun 12 03:18:11 PDT 2026


================
@@ -565,6 +580,87 @@ func.func @accelerator_compute(i64, i1) -> i64 { // An SSACFG region
 }
 ```
 
+#### Region-Exit Terminators
+
+A terminator that implements `RegionExitTerminatorOpInterface` terminates the
----------------
matthias-springer wrote:

What about ops that terminate a region but do not participate in breaking exit? E.g., `affine.yield`. Can we mention that the interface is optional if your op does not support breaking-exit and always exits to the immediate parent?

https://github.com/llvm/llvm-project/pull/166688


More information about the Mlir-commits mailing list