[Openmp-commits] [PATCH] D131443: [Libomptarget] Do not check for valid binaries twice.
Shilei Tian via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Mon Aug 8 14:31:26 PDT 2022
tianshilei1992 added inline comments.
Herald added a subscriber: sstefan1.
================
Comment at: openmp/libomptarget/src/rtl.cpp:508
- if (R->is_valid_binary_info) {
- if (!R->is_valid_binary_info(Img, Info)) {
- DP("Image " DPxMOD " is NOT compatible with RTL %s!\n",
- DPxPTR(Img->ImageStart), R->RTLName.c_str());
- continue;
- }
- } else if (!R->is_valid_binary(Img)) {
- DP("Image " DPxMOD " is NOT compatible with RTL %s!\n",
- DPxPTR(Img->ImageStart), R->RTLName.c_str());
- continue;
- }
-
- DP("Image " DPxMOD " is compatible with RTL " DPxMOD "!\n",
- DPxPTR(Img->ImageStart), DPxPTR(R->LibraryHandler));
-
FoundRTL = R;
----------------
Is it necessary to still keep it?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131443/new/
https://reviews.llvm.org/D131443
More information about the Openmp-commits
mailing list