[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
Wed Apr 1 03:31:04 PDT 2026
================
@@ -0,0 +1,25 @@
+// RUN: %libomp-cxx-compile-and-run | FileCheck %s --match-full-lines
+
+#ifndef HEADER
+#define HEADER
+
+#include <cstdlib>
+#include <cstdio>
+
+int main() {
+ printf("do\n");
+#pragma omp split counts(1, omp_fill, 1)
+ for (int i = 7; i < 19; i += 3)
----------------
amitamd7 wrote:
Kept `iterfor.cpp` to use a `Reporter` class with a custom `Iterator` as used in `reverse/iterfor.cpp`
https://github.com/llvm/llvm-project/pull/183261
More information about the Openmp-commits
mailing list