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

George Rokos via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Jul 23 13:49:57 PDT 2020


grokos added a comment.

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)
  } // fails presence check here


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D84422/new/

https://reviews.llvm.org/D84422





More information about the Openmp-commits mailing list