[clang] [CIR] Upstream support for generating global ctor regions (PR #161298)

Henrich Lauko via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 30 11:58:06 PDT 2025


================
@@ -0,0 +1,17 @@
+// RUN: %clang_cc1 -std=c++17 -triple x86_64-unknown-linux-gnu -fclangir -emit-cir %s -o %t.cir
+// RUN: FileCheck --input-file=%t.cir %s --check-prefix=CIR
+
+// Note: The CIR generated fro this test isn't ready for lowering to LLVM yet.
----------------
xlauko wrote:

```suggestion
// Note: The CIR generated from this test isn't ready for lowering to LLVM yet.
```

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


More information about the cfe-commits mailing list