[llvm] [openmp] [clang] [OpenMP] Remove `register_requires` global constructor (PR #80460)
Gheorghe-Teodor Bercea via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 2 13:33:37 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:
Also, could you explain in a comment why Entry.addr is used here?
https://github.com/llvm/llvm-project/pull/80460
More information about the cfe-commits
mailing list