================
@@ -84,3 +84,75 @@ void proc_bind_parallel() {
// CHECK-NEXT: omp.terminator
// CHECK-NEXT: }
}
+
+void if_parallel() {
----------------
skatrak wrote:
Nit: We should have a case where an inapplicable `if` condition is passed, like:
```c++
#pragma omp parallel if (simd: validCondition)
{}
```
And check that no `if` clause was added to the `omp.parallel` operation.
https://github.com/llvm/llvm-project/pull/204999
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits