diff options
author | Krzysztof Parzyszek <Krzysztof.Parzyszek@amd.com> | 2025-07-21 10:55:37 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-21 10:55:37 -0500 |
commit | 2aa1e54fa1ff7f7c347e7108fe8650e94014c941 (patch) | |
tree | 01b425d895b9457c00a3f6cdcb41ae020c6e8e14 /llvm/lib/Object/ObjectFile.cpp | |
parent | c33c978d766a6bbaec28fce7638354c549a75111 (diff) | |
download | llvm-2aa1e54fa1ff7f7c347e7108fe8650e94014c941.zip llvm-2aa1e54fa1ff7f7c347e7108fe8650e94014c941.tar.gz llvm-2aa1e54fa1ff7f7c347e7108fe8650e94014c941.tar.bz2 |
[flang][OpenMP] Parse OpenMP 6.0 map modifiers (#149134)
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.
Diffstat (limited to 'llvm/lib/Object/ObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions