[PATCH] D84422: [OpenMP] Fix `present` for exit from `omp target data`

Ravi Narayanaswamy via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 23 14:07:45 PDT 2020


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





More information about the llvm-commits mailing list