tianshilei1992 added inline comments.
================ Comment at: openmp/libomptarget/src/api.cpp:355 + bool IsHostPtr = false; + auto &Device = *PM->Devices[DeviceNum]; + TargetPointerResultTy TPR = ---------------- jdoerfert wrote: > And this needs to be (shared) locked too. > > @carlo.bertolli will fix these up consistently (see also above). Yeah, they will be needed fixed consistently. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D141545/new/ https://reviews.llvm.org/D141545 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits