[all-commits] [llvm/llvm-project] e0e93c: [Frontend][OpenMP] Follow compound construct claus...
Sergio Afonso via All-commits
all-commits at lists.llvm.org
Mon Sep 16 07:02:33 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e0e93c3f76fb5ea388ff8dac7a56cffaa75931b5
https://github.com/llvm/llvm-project/commit/e0e93c3f76fb5ea388ff8dac7a56cffaa75931b5
Author: Sergio Afonso <safonsof at amd.com>
Date: 2024-09-16 (Mon, 16 Sep 2024)
Changed paths:
M flang/test/Lower/OpenMP/distribute-parallel-do.f90
M flang/test/Semantics/OpenMP/combined-constructs.f90
M flang/test/Semantics/OpenMP/ordered03.f90
M llvm/include/llvm/Frontend/OpenMP/OMP.td
Log Message:
-----------
[Frontend][OpenMP] Follow compound construct clause restrictions (#107853)
This patch removes from the list of allowed clauses for a handful of
compound constructs those that are specifically disallowed by the OpenMP
spec. In particular, the following restrictions are followed:
- (regarding combined constructs) If _directive-name-A_ is `target`, the
`copyin` clause must not be specified.
- (regarding composite constructs) If _directive-name-A_ is
`distribute`, the `ordered` clause must not be specified.
These restrictions are listed in the OpenMP Specification version 5.2,
sections 17.4 and 17.5. Since it's a similar case as PR #90754, I'm
adding people involved in that decision as reviewers here.
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