[all-commits] [llvm/llvm-project] 22d71e: [Libomptarget] Do not check for valid binaries twice.
Joseph Huber via All-commits
all-commits at lists.llvm.org
Mon Aug 29 06:37:11 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 22d71e72c9fd9c0cb73ba065fd25efe459d4f81c
https://github.com/llvm/llvm-project/commit/22d71e72c9fd9c0cb73ba065fd25efe459d4f81c
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2022-08-29 (Mon, 29 Aug 2022)
Changed paths:
M openmp/libomptarget/include/rtl.h
M openmp/libomptarget/src/rtl.cpp
Log Message:
-----------
[Libomptarget] Do not check for valid binaries twice.
The only RTLs that get added to the `UsedRTLs` list have already been
checked is they were valid binaries. We shouldn't need to do this again
when we unregister all the used binaries as they wouldn't have been used
if they were invalid anyway. Let me know if I'm incorrect in this
assumption.
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D131443
More information about the All-commits
mailing list