[PATCH] D66247: [OpenMP] Fix target map for unused variables
Joel E. Denny via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 14 13:58:19 PDT 2019
jdenny added a comment.
In D66247#1630196 <https://reviews.llvm.org/D66247#1630196>, @ABataev wrote:
> Do we really need to map such variables? According to standard, "The map clause specifies how an original list item is mapped from the current task’s data environment to a corresponding list item in the device data environment of the device identified by the construct.", i.e. it does not map the variable, but "specifies" how to map it.
What you're asking for now contradicts what you asked for at https://reviews.llvm.org/D65835#1624659 when I asked about the same example of `target map(a)` enclosing `teams private(a)`.
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
More information about the cfe-commits