[clang] [OpenMP] Allow dynamic `condition` selector in Metadirective (PR #86457)
Robin Caloudis via cfe-commits
cfe-commits at lists.llvm.org
Sun Mar 24 14:50:52 PDT 2024
================
@@ -107,5 +112,8 @@ void foo(void) {
// CHECK-AMDGCN-NEXT: for (int i = 0; i < 100; i++)
// CHECK: for (int i = 0; i < 16; i++)
// CHECK: for (int i = 0; i < 16; i++)
+// CHECK: int non_const_val = 1;
+// CHECK-NEXT: #pragma omp parallel
----------------
robincaloudis wrote:
`#pragma omp parallel` will not be written as the default for non-const user condition is used
https://github.com/llvm/llvm-project/pull/86457
More information about the cfe-commits
mailing list