[Openmp-commits] [clang] [llvm] [openmp] [Clang][OpenMP] Add `#pragma omp flatten` loop directive + `depth` clause (PR #206977)
Alexey Bataev via Openmp-commits
openmp-commits at lists.llvm.org
Thu Aug 20 10:51:54 PDT 2026
================
@@ -0,0 +1,12 @@
+// RUN: c-index-test -test-load-source local %s -fopenmp=libomp -fopenmp-version=60 | FileCheck %s
+
+void test(void) {
----------------
alexey-bataev wrote:
What about this:
```
#pragma omp flatten
for (int i = 0; i < 3; ++i)
for (int j = 0; j < 0; ++j)
body(i, j);
```
?
https://github.com/llvm/llvm-project/pull/206977
More information about the Openmp-commits
mailing list