[clang] [Driver][SYCL] Link libclang_rt.builtins.bc for spirv64 at compile time via getDeviceLibs (PR #218528)

via cfe-commits cfe-commits at lists.llvm.org
Sun Sep 27 19:24:29 PDT 2026


================
@@ -205,3 +225,30 @@ VersionTuple SYCLToolChain::computeMSVCVersion(const Driver *D,
                                                const ArgList &Args) const {
   return HostTC.computeMSVCVersion(D, Args);
 }
+
+llvm::SmallVector<ToolChain::BitCodeLibraryInfo, 12>
+SYCLToolChain::getDeviceLibs(
+    const llvm::opt::ArgList &DriverArgs, BoundArch /*BA*/,
----------------
jinge90 wrote:

Hi, @srividya-sundaram 
Why do we add a 'BoundArch' parameter ‘BA’ here? The getDeviceLibs function doesn't use it in the implementation.

Thanks very much? 

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


More information about the cfe-commits mailing list