[clang] [CIR] Skip trivially-recursive available_externally function bodies (PR #198363)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 23 06:22:07 PDT 2026


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

Why a separate OGCG?  Didn't we discuss this before? 

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


More information about the cfe-commits mailing list