[clang] [CIR] Add SCF ResumeOp (PR #170042)
Amr Hesham via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 2 09:50:30 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:
IMO, `unwind_resume` or `resume` are more clear than `rethrow`, usually I think of throw/rethrow as exception that can be catched or terminate the program, but here it's like redirect back 🤔, maybe something like `cir.fianlly`
https://github.com/llvm/llvm-project/pull/170042
More information about the cfe-commits
mailing list