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

Amit Tiwari via Openmp-commits openmp-commits at lists.llvm.org
Tue Mar 31 04:50:43 PDT 2026


================
@@ -1984,6 +2006,22 @@ void OMPClausePrinter::VisitOMPSizesClause(OMPSizesClause *Node) {
   OS << ")";
 }
 
+void OMPClausePrinter::VisitOMPCountsClause(OMPCountsClause *Node) {
+  OS << "counts(";
+  unsigned FillIdx = Node->getOmpFillIndex();
+  ArrayRef<Expr *> Refs = Node->getCountsRefs();
+  for (unsigned I = 0, N = Refs.size(); I < N; ++I) {
----------------
amitamd7 wrote:

Added runtime tests

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


More information about the Openmp-commits mailing list