[all-commits] [llvm/llvm-project] 80b571: [Flang] [OpenMP] [Semantics] Add semantic support ...
Raghu Maddhipatla via All-commits
all-commits at lists.llvm.org
Thu Sep 28 09:50:39 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 80b571c66c1ad69a5b58f8fb806476d9cb0e8069
https://github.com/llvm/llvm-project/commit/80b571c66c1ad69a5b58f8fb806476d9cb0e8069
Author: Raghu Maddhipatla <7686592+raghavendhra at users.noreply.github.com>
Date: 2023-09-28 (Thu, 28 Sep 2023)
Changed paths:
M flang/include/flang/Semantics/symbol.h
M flang/lib/Parser/openmp-parsers.cpp
M flang/lib/Semantics/check-omp-structure.cpp
M flang/lib/Semantics/resolve-directives.cpp
M flang/lib/Semantics/symbol.cpp
M flang/test/Semantics/OpenMP/target01.f90
M llvm/include/llvm/Frontend/OpenMP/OMP.td
Log Message:
-----------
[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.
More information about the All-commits
mailing list