[llvm] [llvm][tools] Improve llvm-gpu-loader checks (PR #184791)

Joseph Huber via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 5 05:27:49 PST 2026


================
@@ -242,15 +243,22 @@ int main(int argc, const char **argv, const char **envp) {
     }
     InitArgs.NumPlatforms = 1;
     InitArgs.Platforms = &Backend;
+  } else {
----------------
jhuber6 wrote:

This was an intentional fall-through. When we can't determine it from the ELF flags we let `olInit` initialize every architecture.

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


More information about the llvm-commits mailing list