[clang] [CIR] Implement FlattenCFG for coroutine AwaitOp, CoroBodyOp, and CoReturnOp (PR #203802)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 21 18:02:45 PDT 2026
================
@@ -0,0 +1,226 @@
+// RUN: cir-opt %s -cir-flatten-cfg -o - | FileCheck %s \
+// RUN: --implicit-check-not=cir.coroutine --implicit-check-not=cir.await \
+// RUN: --implicit-check-not=cir.co_return --implicit-check-not=cir.coro.exit \
+// RUN: --implicit-check-not=cir.coro.suspend_point
----------------
Andres-Salamanca wrote:
Done. I also added it to the `coro-task` test.
https://github.com/llvm/llvm-project/pull/203802
More information about the cfe-commits
mailing list