[llvm-branch-commits] [OpenMP] OpenMP 6.0 "taskgraph" support, new tests/test adjustments (PR #194055)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Apr 24 13:56:28 PDT 2026


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff origin/main HEAD --extensions cpp -- openmp/runtime/test/tasking/omp_taskgraph.cpp openmp/runtime/test/tasking/omp_taskgraph_deps.cpp openmp/runtime/test/tasking/omp_taskgraph_multiTDGs.cpp openmp/runtime/test/tasking/omp_taskgraph_taskloop.cpp --diff_from_common_commit
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/openmp/runtime/test/tasking/omp_taskgraph.cpp b/openmp/runtime/test/tasking/omp_taskgraph.cpp
index 5c5be7fcf..9f35a2b55 100644
--- a/openmp/runtime/test/tasking/omp_taskgraph.cpp
+++ b/openmp/runtime/test/tasking/omp_taskgraph.cpp
@@ -1,5 +1,6 @@
 // REQUIRES: omp_taskgraph_experimental
-// RUN: %clangXX %flags %openmp_flags -fopenmp-version=60 %s -o %t && %libomp-run
+// RUN: %clangXX %flags %openmp_flags -fopenmp-version=60 %s -o %t &&
+// %libomp-run
 #include <iostream>
 #include <cassert>
 #define NT 100
diff --git a/openmp/runtime/test/tasking/omp_taskgraph_deps.cpp b/openmp/runtime/test/tasking/omp_taskgraph_deps.cpp
index bdc721b08..b21c3b4a2 100644
--- a/openmp/runtime/test/tasking/omp_taskgraph_deps.cpp
+++ b/openmp/runtime/test/tasking/omp_taskgraph_deps.cpp
@@ -1,5 +1,6 @@
 // REQUIRES: omp_taskgraph_experimental
-// RUN: %clangXX %flags %openmp_flags -fopenmp-version=60 %s -o %t && %libomp-run
+// RUN: %clangXX %flags %openmp_flags -fopenmp-version=60 %s -o %t &&
+// %libomp-run
 #include <iostream>
 #include <cassert>
 #define NT 100
diff --git a/openmp/runtime/test/tasking/omp_taskgraph_multiTDGs.cpp b/openmp/runtime/test/tasking/omp_taskgraph_multiTDGs.cpp
index f542dedea..a93cc7c77 100644
--- a/openmp/runtime/test/tasking/omp_taskgraph_multiTDGs.cpp
+++ b/openmp/runtime/test/tasking/omp_taskgraph_multiTDGs.cpp
@@ -1,5 +1,6 @@
 // REQUIRES: omp_taskgraph_experimental
-// RUN: %clangXX %flags %openmp_flags -fopenmp-version=60 %s -o %t && %libomp-run
+// RUN: %clangXX %flags %openmp_flags -fopenmp-version=60 %s -o %t &&
+// %libomp-run
 #include <iostream>
 #include <cassert>
 #define NT 20
diff --git a/openmp/runtime/test/tasking/omp_taskgraph_taskloop.cpp b/openmp/runtime/test/tasking/omp_taskgraph_taskloop.cpp
index d9805ce54..2e317e73b 100644
--- a/openmp/runtime/test/tasking/omp_taskgraph_taskloop.cpp
+++ b/openmp/runtime/test/tasking/omp_taskgraph_taskloop.cpp
@@ -1,5 +1,6 @@
 // REQUIRES: omp_taskgraph_experimental
-// RUN: %clangXX %flags %openmp_flags -fopenmp-version=60 %s -o %t && %libomp-run
+// RUN: %clangXX %flags %openmp_flags -fopenmp-version=60 %s -o %t &&
+// %libomp-run
 #include <iostream>
 #include <cassert>
 

``````````

</details>


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


More information about the llvm-branch-commits mailing list