================
@@ -11153,6 +11153,12 @@ def err_omp_bind_required_on_loop : Error<
   "construct">;
 def err_omp_loop_reduction_clause : Error<
   "'reduction' clause not allowed with '#pragma omp loop bind(teams)'">;
+def err_omp_split_counts_multiple_omp_fill : Error<
+  "at most one 'omp_fill' may appear in the 'counts' clause">;
----------------
amitamd7 wrote:

As referred here for the `counts` clause, `omp_fill`  looked like a relaxed 
constraint:
<img width="581" height="72" alt="Screenshot 2026-03-26 144724" 
src="https://github.com/user-attachments/assets/88fa39f2-fe24-4e34-81c3-8653aa88843a";
 />

I got confused with this definition, but I realize the one I have attached is 
particular to the `counts` clause while the one you attached is associated with 
the `split` directive usage with the `counts` clause, which is a stricter case. 
The `counts` can be associated with other directives with a relaxed constraint, 
but the fact that `counts` is only applicable with the `split` directive (as 
per OpenMP 6.0) makes it even more interesting.


https://github.com/llvm/llvm-project/pull/183261
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to