================
@@ -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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to