[clang] [llvm] [Clang][OpenMP] Implement Loop splitting `#pragma omp split` directive (PR #183261)

Michael Kruse via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 25 05:55:26 PDT 2026


================
@@ -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">;
----------------
Meinersbur wrote:

This is not true by the OpenMP specification:
<img width="661" height="58" alt="Image" src="https://github.com/user-attachments/assets/0f7b7caa-1096-4425-9dfd-cabd8849b43d" />

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


More information about the cfe-commits mailing list