[PATCH] D145093: Add map info for dereference pointer.
Alexey Bataev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 1 12:52:50 PST 2023
ABataev added inline comments.
================
Comment at: clang/test/OpenMP/target_map_deref_array_codegen.cpp:17
+ (*t1d)[j] = 1;
+ #pragma omp target map(to: (*t1d)[0:3])
+ (*t1d)[2] = 2;
----------------
Is this correct at all? This is not a pointer to the array, it is an array of pointers, IIRC.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D145093/new/
https://reviews.llvm.org/D145093
More information about the cfe-commits
mailing list