[openmp] [clang] [llvm] [OpenMP] Remove `register_requires` global constructor (PR #80460)

Gheorghe-Teodor Bercea via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 2 13:54:19 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:

Or is that too restrictive

https://github.com/llvm/llvm-project/pull/80460


More information about the cfe-commits mailing list