[flang-commits] [flang] [Flang][OpenMP] Update default MapType for Map Clauses and OpenMP 5.2 (PR #144715)

Krzysztof Parzyszek via flang-commits flang-commits at lists.llvm.org
Wed Jun 18 08:06:27 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
----------------
kparzysz wrote:

Yes, this is only needed if the tests uses some constants or functions from omp_lib.

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


More information about the flang-commits mailing list