[all-commits] [llvm/llvm-project] 092923: [flang][OpenMP] Parse OpenMP 6.0 map modifiers
Krzysztof Parzyszek via All-commits
all-commits at lists.llvm.org
Wed Jul 16 09:28:40 PDT 2025
Branch: refs/heads/users/kparzysz/m01-map60-parser
Home: https://github.com/llvm/llvm-project
Commit: 0929234481b4d6d015381fda490c05bbeff1e22f
https://github.com/llvm/llvm-project/commit/0929234481b4d6d015381fda490c05bbeff1e22f
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2025-07-16 (Wed, 16 Jul 2025)
Changed paths:
M flang/include/flang/Parser/dump-parse-tree.h
M flang/include/flang/Parser/parse-tree.h
M flang/include/flang/Semantics/openmp-modifiers.h
M flang/lib/Parser/openmp-parsers.cpp
M flang/lib/Parser/unparse.cpp
M flang/lib/Semantics/canonicalize-omp.cpp
M flang/lib/Semantics/canonicalize-omp.h
M flang/lib/Semantics/openmp-modifiers.cpp
M flang/lib/Semantics/resolve-directives.cpp
M flang/lib/Semantics/semantics.cpp
A flang/test/Parser/OpenMP/map-modifiers-v60.f90
Log Message:
-----------
[flang][OpenMP] Parse OpenMP 6.0 map modifiers
OpenMP 6.0 has changed the modifiers on the MAP clause:
- map-type-modifier has been split into individual modifiers,
- map-type "delete" has become a modifier,
- new modifiers have been added.
This patch adds parsing support for all of the OpenMP 6.0 modifiers.
The old "map-type-modifier" is retained, but is no longer created in
parsing. It will remain to take advantage of the preexisting modifier
validation for older versions: when the OpenMP version is < 6.0,
the modifiers will be rewritten back as map-type-modifiers (or map-
type in case of "delete").
In this patch the modifiers will always be rewritten in the older
format to isolate these changes to parsing as much as possible.
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