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

Bruno Cardoso Lopes via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 2 17:59:19 PST 2025


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

I prefer the simple 'cir.resume', 'cir.eh_resume', 'cir.unwind_resume'. I'd avoid giving any expectations to users of what scf might mean and would keep it out. 

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


More information about the cfe-commits mailing list