[clang] [CIR] Add structured ResumeOp (PR #170042)

Amr Hesham via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 5 10:32:53 PST 2025


================
@@ -898,6 +898,36 @@ def CIR_ContinueOp : CIR_Op<"continue", [Terminator]> {
   let hasLLVMLowering = false;
 }
 
+//===----------------------------------------------------------------------===//
+// Resume
+//===----------------------------------------------------------------------===//
+
+def CIR_SCFResumeOp : CIR_Op<"scf.resume", [
----------------
AmrDeveloper wrote:

> I guess we can refactor structure/unstrucured control flow together once more of it is upstreamed :)

Nice, I think after CatchParam we can discuss that and refactor them 👍🏻 

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


More information about the cfe-commits mailing list