[Openmp-commits] [openmp] 0fa0cf8 - [OpenMP][Tests] Update compatibility with GCC (NFC)

Joachim Protze via Openmp-commits openmp-commits at lists.llvm.org
Tue Jul 7 15:27:40 PDT 2020


Author: Joachim Protze
Date: 2020-07-08T00:27:19+02:00
New Revision: 0fa0cf8638b0777a1a44feebf78a63865e48ecf6

URL: https://github.com/llvm/llvm-project/commit/0fa0cf8638b0777a1a44feebf78a63865e48ecf6
DIFF: https://github.com/llvm/llvm-project/commit/0fa0cf8638b0777a1a44feebf78a63865e48ecf6.diff

LOG: [OpenMP][Tests] Update compatibility with GCC (NFC)

Commit 95a28df5c provided implementation for GOMP*_nonmonotonic*runtime*
functions. Now the tests succeed with gcc 9 and 10

Added: 
    

Modified: 
    openmp/runtime/test/ompt/worksharing/for/runtime.c
    openmp/runtime/test/ompt/worksharing/for/runtime_serialized.c
    openmp/runtime/test/ompt/worksharing/for/runtime_split.c
    openmp/runtime/test/worksharing/for/bug_set_schedule_0.c
    openmp/runtime/test/worksharing/for/omp_for_schedule_runtime.c
    openmp/runtime/test/worksharing/for/omp_nonmonotonic_dynamic1.c

Removed: 
    


################################################################################
diff  --git a/openmp/runtime/test/ompt/worksharing/for/runtime.c b/openmp/runtime/test/ompt/worksharing/for/runtime.c
index 1dc3dd67c26d..bcf160faeb89 100644
--- a/openmp/runtime/test/ompt/worksharing/for/runtime.c
+++ b/openmp/runtime/test/ompt/worksharing/for/runtime.c
@@ -1,7 +1,5 @@
 // RUN: %libomp-compile-and-run | %sort-threads | FileCheck %S/base.h
 // REQUIRES: ompt
-// gcc 9/10 use GOMP_parallel_loop_maybe_nonmonotonic_runtime, not implemented
-// XFAIL: gcc-9, gcc-10
 
 #define SCHEDULE runtime
 #include "base.h"

diff  --git a/openmp/runtime/test/ompt/worksharing/for/runtime_serialized.c b/openmp/runtime/test/ompt/worksharing/for/runtime_serialized.c
index 136e9efb182c..231d67d91aa9 100644
--- a/openmp/runtime/test/ompt/worksharing/for/runtime_serialized.c
+++ b/openmp/runtime/test/ompt/worksharing/for/runtime_serialized.c
@@ -1,7 +1,5 @@
 // RUN: %libomp-compile-and-run | %sort-threads | FileCheck %S/base_serialized.h
 // REQUIRES: ompt
-// gcc 9/10 use GOMP_parallel_loop_maybe_nonmonotonic_runtime, not implemented
-// XFAIL: gcc-9, gcc-10
 
 #define SCHEDULE runtime
 #include "base_serialized.h"

diff  --git a/openmp/runtime/test/ompt/worksharing/for/runtime_split.c b/openmp/runtime/test/ompt/worksharing/for/runtime_split.c
index b21bc248d623..7a677edbfd0e 100644
--- a/openmp/runtime/test/ompt/worksharing/for/runtime_split.c
+++ b/openmp/runtime/test/ompt/worksharing/for/runtime_split.c
@@ -3,8 +3,5 @@
 // REQUIRES: ompt
 // UNSUPPORTED: gcc-4, gcc-5, gcc-6, gcc-7
 
-// gcc 9/10 use GOMP_parallel_loop_maybe_nonmonotonic_runtime, not implemented
-// XFAIL: gcc-9, gcc-10
-
 #define SCHEDULE runtime
 #include "base_split.h"

diff  --git a/openmp/runtime/test/worksharing/for/bug_set_schedule_0.c b/openmp/runtime/test/worksharing/for/bug_set_schedule_0.c
index 97ba492da3d2..813b31c20c1e 100644
--- a/openmp/runtime/test/worksharing/for/bug_set_schedule_0.c
+++ b/openmp/runtime/test/worksharing/for/bug_set_schedule_0.c
@@ -1,9 +1,5 @@
 // RUN: %libomp-compile-and-run
 
-// gcc 9/10 use GOMP_parallel_loop_maybe_nonmonotonic_runtime, not implemented
-// Should be removed once the functions are implemented
-// XFAIL: gcc-9, gcc-10
-
 #include <stdio.h>
 #include <omp.h>
 #include "omp_testsuite.h"

diff  --git a/openmp/runtime/test/worksharing/for/omp_for_schedule_runtime.c b/openmp/runtime/test/worksharing/for/omp_for_schedule_runtime.c
index 0b8cd8900f08..27a76567fbe2 100644
--- a/openmp/runtime/test/worksharing/for/omp_for_schedule_runtime.c
+++ b/openmp/runtime/test/worksharing/for/omp_for_schedule_runtime.c
@@ -11,10 +11,6 @@
 // RUN: env OMP_SCHEDULE=static_steal %libomp-run 102 1
 // RUN: env OMP_SCHEDULE=static_steal,14 %libomp-run 102 14
 
-// gcc 9/10 use GOMP_parallel_loop_maybe_nonmonotonic_runtime, not implemented
-// Should be removed once the functions are implemented
-// XFAIL: gcc-9, gcc-10
-
 #include <stdio.h>
 #include <stdlib.h>
 #include <math.h>

diff  --git a/openmp/runtime/test/worksharing/for/omp_nonmonotonic_dynamic1.c b/openmp/runtime/test/worksharing/for/omp_nonmonotonic_dynamic1.c
index 47341484283f..0691353fe59e 100644
--- a/openmp/runtime/test/worksharing/for/omp_nonmonotonic_dynamic1.c
+++ b/openmp/runtime/test/worksharing/for/omp_nonmonotonic_dynamic1.c
@@ -1,10 +1,6 @@
 // RUN: %libomp-compile
 // RUN: env OMP_SCHEDULE=nonmonotonic:dynamic,10 %libomp-run
 
-// gcc 9/10 use GOMP_parallel_loop_maybe_nonmonotonic_runtime, not implemented
-// Should be removed once the functions are implemented
-// XFAIL: gcc-9, gcc-10
-
 // The test checks iterations distribution for OMP 5.0 nonmonotonic OMP_SCHEDULE
 // case #threads > #chunks (fallback to monotonic dynamic)
 


        


More information about the Openmp-commits mailing list