[all-commits] [llvm/llvm-project] 252645: [Flang][OpenMP] Add semantic checks for Worshare c...
Thirumalai Shaktivel via All-commits
all-commits at lists.llvm.org
Thu Oct 17 21:42:20 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 252645528eefee9319f99172c2470aea0dcc31cf
https://github.com/llvm/llvm-project/commit/252645528eefee9319f99172c2470aea0dcc31cf
Author: Thirumalai Shaktivel <74826228+Thirumalai-Shaktivel at users.noreply.github.com>
Date: 2024-10-18 (Fri, 18 Oct 2024)
Changed paths:
M flang/lib/Semantics/check-omp-structure.cpp
M flang/test/Semantics/OpenMP/workshare02.f90
M llvm/include/llvm/Frontend/OpenMP/OMP.td
Log Message:
-----------
[Flang][OpenMP] Add semantic checks for Worshare construct (#111358)
Add missing semantic checks for the Workshare construct:
OpenMP 5.2: 11.4 Workshare Construct
- The construct must not contain any user-defined function calls unless
either the function is pure and elemental or the function call is
contained inside a parallel construct that is nested inside the
workshare construct. (Flang-new used to check only the elemental function,
but now it needs to be an impure elemental function)
- At most one NoWait clause can appear in the Workshare construct.
- Add tests for the same.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list