[all-commits] [llvm/llvm-project] bd7966: [flang][OpenMP] Set REQUIRES flags on program unit...
Krzysztof Parzyszek via All-commits
all-commits at lists.llvm.org
Thu Oct 16 04:28:30 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bd79667fc26b60c4df9282541329cb1a30a86d11
https://github.com/llvm/llvm-project/commit/bd79667fc26b60c4df9282541329cb1a30a86d11
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2025-10-16 (Thu, 16 Oct 2025)
Changed paths:
M flang/include/flang/Semantics/openmp-utils.h
M flang/lib/Semantics/openmp-utils.cpp
M flang/lib/Semantics/resolve-directives.cpp
Log Message:
-----------
[flang][OpenMP] Set REQUIRES flags on program unit symbol (#163448)
REQUIRES clauses apply to the compilation unit, which the OpenMP spec
defines as the program unit in Fortran.
Don't set REQUIRES flags on all containing scopes, only on the containng
program unit, where flags coming from different directives are gathered.
If we wanted to set the flags on subprograms, we would need to first
accummulate all of them, then propagate them down to all subprograms.
That is not done as it is not necessary (the containing program unit is
always available).
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