[clang] [CIR] Add support for coroutine allocation failure (PR #220466)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 2 06:11:11 PDT 2026
================
@@ -0,0 +1,80 @@
+// RUN: %clang_cc1 -std=c++20 -triple x86_64-unknown-linux-gnu -fclangir -fno-clangir-call-conv-lowering -Wno-coroutine-missing-unhandled-exception -emit-cir %s -o %t.cir
+// RUN: FileCheck --input-file=%t.cir %s -check-prefix=CIR
+// RUN: %clang_cc1 -std=c++20 -triple x86_64-unknown-linux-gnu -emit-llvm -disable-llvm-passes -Wno-coroutine-missing-unhandled-exception %s -o %t-cir.ll
----------------
erichkeane wrote:
These check-lines aren't right. WE're only testing OGCG and CIR, we should be testing clang-through-LLVM as well.
Frankly, this 3rd line is a little bit weird....
https://github.com/llvm/llvm-project/pull/220466
More information about the cfe-commits
mailing list