[PATCH] D67978: [OpenMP 5.0] Fix user-defined mapper lookup in sema for arrays
Lingda Li via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 24 13:59:03 PDT 2019
lildmh added a comment.
In D67978#1681319 <https://reviews.llvm.org/D67978#1681319>, @ABataev wrote:
> In D67978#1681318 <https://reviews.llvm.org/D67978#1681318>, @lildmh wrote:
>
> > Without this patch, it cannot recognize array with mapper, for instance, `#pragma omp target map(mapper(a),to: arr[0:2])` won't work without this patch.
>
>
> What if we have a mapper for the array type?
Without this patch, it won't be able to find the mapper in this case, and Clang assumes no mapper. This patch fixes it, so the compiler can find the mapper in this case.
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D67978/new/
https://reviews.llvm.org/D67978
More information about the cfe-commits
mailing list