[clang] [CIR][OpenMP] Enable lowering of the OpenMP dialect to LLVM IR (PR #178515)
Bruno Cardoso Lopes via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 30 15:46:27 PST 2026
================
@@ -0,0 +1,134 @@
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fclangir -fopenmp -emit-llvm %s -o %t-cir.ll
+// RUN: FileCheck %s -check-prefix=CIR --input-file %t-cir.ll
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fopenmp -emit-llvm %s -o %t.ll
+// RUN: FileCheck %s -check-prefix=OGCG --input-file %t.ll
+
+// CIR-LABEL: define dso_local i32 @main()
+// CIR: %[[STRUCTARG:.*]] = alloca { ptr, ptr }, align 8
----------------
bcardosolopes wrote:
Use `LLVM` instead of `CIR`. See my other comment about moving this to the other test
https://github.com/llvm/llvm-project/pull/178515
More information about the cfe-commits
mailing list