[clang] [flang] [llvm] [Flang][OpenMP] Implement variable-category for default clause (OMP 6.0) (PR #223476)
Phoebe Linck via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 24 18:56:38 PST 2026
================
@@ -0,0 +1,40 @@
+! RUN: %flang_fc1 -fopenmp -fopenmp-version=60 -emit-hlfir %s -o - | FileCheck %s
+
+! CHECK-LABEL: func.func @_QPp_scalar
+! CHECK: omp.parallel private(@_QFp_scalarEs_private_i32 %{{.*}} -> %{{.*}} : !fir.ref<{{.*}}>) {
----------------
phi-bee wrote:
Added test cases for `firstprivate`, and also made sure each test properly checks that variables outside the category aren't affected.
https://github.com/llvm/llvm-project/pull/223476
More information about the cfe-commits
mailing list