[clang] [CIR] Add SCF ResumeOp (PR #170042)
Andy Kaylor via cfe-commits
cfe-commits at lists.llvm.org
Wed Dec 3 16:10:49 PST 2025
================
@@ -898,6 +898,36 @@ def CIR_ContinueOp : CIR_Op<"continue", [Terminator]> {
let hasLLVMLowering = false;
}
+//===----------------------------------------------------------------------===//
+// Resume
+//===----------------------------------------------------------------------===//
+
+def CIR_SCFResumeOp : CIR_Op<"scf.resume", [
----------------
andykaylor wrote:
There is some precedent set by `SwitchFlatOp` (`cir.switch.flat`), which is the flattened form of `SwitchOp`. How about `cir.resume` for the structured version and `cir.resume.flat` after flattening?
https://github.com/llvm/llvm-project/pull/170042
More information about the cfe-commits
mailing list