[all-commits] [llvm/llvm-project] fc9b35: [flang][OpenMP] Refactor/update semantic checks fo...
Krzysztof Parzyszek via All-commits
all-commits at lists.llvm.org
Tue Oct 21 06:23:27 PDT 2025
Branch: refs/heads/users/kparzysz/q13-allocate-corrections
Home: https://github.com/llvm/llvm-project
Commit: fc9b35d948dcbd6bf53bfe24fc70675e01f27044
https://github.com/llvm/llvm-project/commit/fc9b35d948dcbd6bf53bfe24fc70675e01f27044
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2025-10-21 (Tue, 21 Oct 2025)
Changed paths:
M flang/include/flang/Semantics/openmp-utils.h
M flang/lib/Semantics/check-omp-structure.cpp
M flang/lib/Semantics/check-omp-structure.h
M flang/lib/Semantics/openmp-utils.cpp
M flang/lib/Semantics/resolve-directives.cpp
M flang/test/Semantics/OpenMP/allocate01.f90
M flang/test/Semantics/OpenMP/allocate04.f90
M flang/test/Semantics/OpenMP/allocate05.f90
M flang/test/Semantics/OpenMP/allocate06.f90
M flang/test/Semantics/OpenMP/allocate08.f90
M flang/test/Semantics/OpenMP/allocators04.f90
R flang/test/Semantics/OpenMP/allocators06.f90
M flang/test/Semantics/OpenMP/declarative-directive02.f90
Log Message:
-----------
[flang][OpenMP] Refactor/update semantic checks for ALLOCATE directive
OpenMP 5.0 and 5.1 allowed the ALLOCATE directive to appear in two forms,
declarative and executable. The syntax of an individual directive was the
same in both cases, but the semantic restrictions were slightly different.
- Update the semantic checks to reflect the different restrictions, gather
them in a single function.
- Improve test for the presence of a TARGET region, add a check for
REQUIRES directive.
- Update tests.
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