[clang] [CIR] Add lowering for coroutine intrinsics and token none (PR #215709)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 11 21:20:30 PDT 2026


================
@@ -1,22 +1,42 @@
 // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fcoroutines -fclangir -emit-cir %s -o %t.cir
 // RUN: FileCheck --input-file=%t.cir %s -check-prefix=CIR
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fcoroutines -fclangir -fclangir -emit-llvm -disable-llvm-passes %s -o  %t-cir.ll
+// RUN: FileCheck --input-file=%t-cir.ll %s -check-prefix=LLVM
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fcoroutines -emit-llvm -disable-llvm-passes %s -o  %t.ll
+// RUN: FileCheck --input-file=%t.ll %s -check-prefix=OGCG
----------------
erichkeane wrote:

```suggestion
// RUN: FileCheck --input-file=%t.ll %s -check-prefix=LLVM
```

CAN we do this?  What are the differences here that require the separate check lines?

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


More information about the cfe-commits mailing list