[all-commits] [llvm/llvm-project] f13aea: [Flang][OpenMP] Update semantics checks for 'teams...
Sergio Afonso via All-commits
all-commits at lists.llvm.org
Wed Feb 12 07:24:54 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f13aea1d87c83ee57234af6da07a36fc12fd08a4
https://github.com/llvm/llvm-project/commit/f13aea1d87c83ee57234af6da07a36fc12fd08a4
Author: Sergio Afonso <safonsof at amd.com>
Date: 2025-02-12 (Wed, 12 Feb 2025)
Changed paths:
M flang/include/flang/Semantics/openmp-directive-sets.h
M flang/lib/Semantics/check-omp-structure.cpp
M flang/test/Semantics/OpenMP/nested-target.f90
M flang/test/Semantics/OpenMP/nested-teams.f90
Log Message:
-----------
[Flang][OpenMP] Update semantics checks for 'teams' nesting (#126922)
This patch introduces a directive set for combined constructs where
`teams` is the last leaf. This is used in a couple places to simplify
checks, which is NFC, but it also replaces two incorrect uses of
`topTeamsSet`.
Before, these checks would incorrectly skip combined constructs where
`teams` was the last leaf construct when checking for allowed nested
constructs inside of a `teams` region. Similarly, it would also
incorrectly perform these checks whenever a compound `teams` construct
where `teams` was the first leaf construct was found.
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