[flang-commits] [flang] e6ef836 - [flang][OpenMP] Add -fopenmp-version=52 to teams.f90 (#92180)
via flang-commits
flang-commits at lists.llvm.org
Wed May 15 04:46:01 PDT 2024
Author: Krzysztof Parzyszek
Date: 2024-05-15T06:45:57-05:00
New Revision: e6ef836f23aa44520e0823c38e44b2f58eb5a52f
URL: https://github.com/llvm/llvm-project/commit/e6ef836f23aa44520e0823c38e44b2f58eb5a52f
DIFF: https://github.com/llvm/llvm-project/commit/e6ef836f23aa44520e0823c38e44b2f58eb5a52f.diff
LOG: [flang][OpenMP] Add -fopenmp-version=52 to teams.f90 (#92180)
One of the functions in the test has `teams if(...)`. The `if` clause
was only allowed on the `teams` directive in OpenMP 5.2.
Added:
Modified:
flang/test/Lower/OpenMP/teams.f90
Removed:
################################################################################
diff --git a/flang/test/Lower/OpenMP/teams.f90 b/flang/test/Lower/OpenMP/teams.f90
index f122a578a6e16..b1b2e7080676e 100644
--- a/flang/test/Lower/OpenMP/teams.f90
+++ b/flang/test/Lower/OpenMP/teams.f90
@@ -1,6 +1,6 @@
! REQUIRES: openmp_runtime
-! RUN: %flang_fc1 -emit-hlfir -fopenmp %s -o - | FileCheck %s
+! RUN: %flang_fc1 -emit-hlfir -fopenmp -fopenmp-version=52 %s -o - | FileCheck %s
! CHECK-LABEL: func @_QPteams_simple
subroutine teams_simple()
More information about the flang-commits
mailing list