RaviNarayanaswamy added a comment.
In D84422#2170667 <https://reviews.llvm.org/D84422#2170667>, @grokos wrote:
> So is the test case that motivated this patch illegal OpenMP code?
>
> #pragma omp target enter data map(alloc:i)
> #pragma omp target data map(present, alloc: i)
> {
> #pragma omp target exit data map(delete:i) // you cannot delete that
> object in the scope, illegal code?
> } // fails presence check here
> ```Sent mail to OpenMP to clarify.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D84422/new/
https://reviews.llvm.org/D84422
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits