[PATCH] D86119: [OPENMP50]Allow overlapping mapping in target constrcuts.
Chi Chun Chen via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 7 11:16:03 PST 2020
cchen added a comment.
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;
}
}
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