[clang] [llvm] [Driver][clang-linker-wrapper] Add initial support for OpenMP offloading to generic SPIR-V (PR #120145)
Joseph Huber via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 17 07:00:24 PST 2024
================
@@ -2829,10 +2829,13 @@ void tools::addOpenMPDeviceRTL(const Driver &D,
LibraryPaths.emplace_back(LibPath);
OptSpecifier LibomptargetBCPathOpt =
- Triple.isAMDGCN() ? options::OPT_libomptarget_amdgpu_bc_path_EQ
- : options::OPT_libomptarget_nvptx_bc_path_EQ;
+ Triple.isAMDGCN() ? options::OPT_libomptarget_amdgpu_bc_path_EQ
----------------
jhuber6 wrote:
Does SPIR-V still rely on the `mlink-builtin-bitcode` hack instead of LTO? The SPIR-V backend should be usable soon from what I hear, so that's the ideal going forward.
https://github.com/llvm/llvm-project/pull/120145
More information about the llvm-commits
mailing list