[clang] [CIR] Implement FlattenCFG for coroutine AwaitOp, CoroBodyOp, and CoReturnOp (PR #203802)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 14 16:53:13 PDT 2026


================
@@ -4365,6 +4341,7 @@ def CIR_FuncOp : CIR_Op<"func", [
     TypeAttrOf<CIR_FuncType>:$function_type,
     UnitAttr:$builtin,
     UnitAttr:$coroutine,
+    UnitAttr:$flattened_coroutine,
----------------
erichkeane wrote:

Probably a new attribute for coroutines.  Those are specific C++-special type functions.  

I'm alright with a followup.

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


More information about the cfe-commits mailing list