[PATCH] D84767: [OPENMP]Fix PR46824: Global declare target pointer cannot be accessed in target region.

Ye Luo via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 28 12:42:51 PDT 2020


ye-luo requested changes to this revision.
ye-luo added a comment.
This revision now requires changes to proceed.

Please check the reproducer in https://bugs.llvm.org/show_bug.cgi?id=46868 with LIBOMPTARGET_DEBUG=1.
The reference counting on the base pointer variable has side effects. It was not cleaned up when these variables leave its scope.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D84767



More information about the cfe-commits mailing list