jyu2 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; ---------------- ABataev wrote: > Is this correct at all? This is not a pointer to the array, it is an array of > pointers, IIRC. I am confuse about those two(pointer to array or array of pointer). I thinks int **tid === int (*t1d)[3], it is pointer to array. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D145093/new/ https://reviews.llvm.org/D145093 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits