[flang-commits] [flang] [Flang][OpenMP] Update default MapType for Map Clauses and OpenMP 5.2 (PR #144715)
Tom Eccles via flang-commits
flang-commits at lists.llvm.org
Wed Jun 18 08:02:45 PDT 2025
================
@@ -0,0 +1,28 @@
+! This test checks the lowering and application of default map types for the target enter/exit data constructs and map clauses
+
+!RUN: %flang -fc1 -emit-fir -fopenmp -fopenmp-version=52 -o - %s | FileCheck %s --check-prefix=CHECK-52
+!RUN: not %flang -fc1 -emit-fir -fopenmp -fopenmp-version=51 -o - %s 2<&1| FileCheck %s --check-prefix=CHECK-51
+
+module test
+ use omp_lib
----------------
tblah wrote:
I don't think this line is needed, and it leads to the test failing on builders not configured to build the openmp runtime.
If this does turn out to be needed you need to add
```
! REQUIRES: openmp_runtime
```
so that the test gets skipped on machines that do not build the runtime.
https://github.com/llvm/llvm-project/pull/144715
More information about the flang-commits
mailing list