ABataev added inline comments.
================ Comment at: clang/lib/CodeGen/CGOpenMPRuntime.cpp:2958-2970 + auto PerDevice = OffloadEntriesTargetRegion.find(DeviceID); + if (PerDevice != OffloadEntriesTargetRegion.end()) { + auto PerFile = PerDevice->second.find(FileID); + if (PerFile != PerDevice->second.end()) { + auto PerParentName = PerFile->second.find(ParentName); + if (PerParentName != PerFile->second.end()) { + auto PerLine = PerParentName->second.find(LineNum); ---------------- Just: ``` if (hasTargetRegionEntryInfo(DeviceID, FileID, ParentName, LineNum)) return; ``` Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D90704/new/ https://reviews.llvm.org/D90704 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits