[PATCH] D86119: [OPENMP50]Allow overlapping mapping in target constrcuts.
Alexey Bataev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 7 11:17:24 PST 2020
ABataev added a comment.
In D86119#2437676 <https://reviews.llvm.org/D86119#2437676>, @cchen wrote:
> Just tried this patch and found that below test abort inside `generateInfoCapture`.
>
> #include <stdio.h>
> #define LEN 100
> int buf[LEN];
>
> int main()
> {
> int i;
> int *p = buf;
>
> for (i = 0; i < LEN; i++) {
> p[i] = 0;
> }
>
> #pragma omp target map(p) map(p[:100])
> {
> *(p+5) = 1;
> }
>
> }
I'll check this, thanks!
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86119/new/
https://reviews.llvm.org/D86119
More information about the cfe-commits
mailing list