[llvm] [openmp] [clang] [OpenMP] Remove `register_requires` global constructor (PR #80460)
Gheorghe-Teodor Bercea via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 2 13:32:18 PST 2024
================
@@ -199,7 +199,7 @@ static int initLibrary(DeviceTy &Device) {
Entry.size) != OFFLOAD_SUCCESS)
REPORT("Failed to write symbol for USM %s\n", Entry.name);
}
- } else {
+ } else if (Entry.addr) {
----------------
doru1004 wrote:
So now we don't have a "default" else branch here. Is it not needed?
https://github.com/llvm/llvm-project/pull/80460
More information about the llvm-commits
mailing list