[clang] [CIR][OpenMP] Implement lowering for the 'if' clause for 'parallel' d… (PR #204999)

Sergio Afonso via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 21 04:18:59 PDT 2026


================
@@ -84,3 +84,75 @@ void proc_bind_parallel() {
   // CHECK-NEXT: omp.terminator
   // CHECK-NEXT: }
 }
+
+void if_parallel() {
----------------
skatrak wrote:

Sure, we can skip it for now. I wasn't sure if my example would trigger a semantics error instead and we don't have the infrastructure set up to be able to test `#pragma omp parallel for simd if(simd: validCondition)`, which would be one legal way of testing it.

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


More information about the cfe-commits mailing list