diff options
author | Raghu Maddhipatla <7686592+raghavendhra@users.noreply.github.com> | 2023-09-28 11:50:26 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-28 11:50:26 -0500 |
commit | 80b571c66c1ad69a5b58f8fb806476d9cb0e8069 (patch) | |
tree | a03ae4d214e608f30004a5cd3b67eb5d0ab7004d /clang/lib/Lex/ModuleMap.cpp | |
parent | 3429aa3e60b982592e29c941b73827f3c794a401 (diff) | |
download | llvm-80b571c66c1ad69a5b58f8fb806476d9cb0e8069.zip llvm-80b571c66c1ad69a5b58f8fb806476d9cb0e8069.tar.gz llvm-80b571c66c1ad69a5b58f8fb806476d9cb0e8069.tar.bz2 |
[Flang] [OpenMP] [Semantics] Add semantic support for IS_DEVICE_PTR nd HAS_DEVICE_ADDR clauses on OMP TARGET directive and add more semantic checks for OMP TARGET. (#67290)
Summary of this patch
- Add semantic support for HAS_DEVICE_ADDR and IS_DEVICE_PTR clauses.
- A list item that appears in an IS_DEVICE_PTR clause must be a valid
device pointer for the device data environment.
- A list item may not be specified in both an IS_DEVICE_PTR clause and a
HAS_DEVICE_ADDR clauses on the directive.
- A list item that appears in an IS_DEVICE_PTR or a HAS_DEVICE_ADDR
clauses must not be specified in any data-sharing attribute clause on
the same target construct.
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions