[clang] [compiler-rt] [Driver][SYCL] Add compile-time device library linking for SPIR-V targets (PR #196656)
Srividya Sundaram via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 27 10:05:10 PDT 2026
================
@@ -180,3 +226,46 @@ void SYCLToolChain::AddClangCXXStdlibIncludeArgs(const ArgList &Args,
ArgStringList &CC1Args) const {
HostTC.AddClangCXXStdlibIncludeArgs(Args, CC1Args);
}
+
+llvm::SmallVector<ToolChain::BitCodeLibraryInfo, 12>
+SYCLToolChain::getDeviceLibs(
----------------
srividya-sundaram wrote:
No, it is no longer relevant. That comment described the old implementation. The PR now replaces the previous approach of linking individual SYCL device libraries with compile-time linking of `libclang_rt.builtins.bc` via `-mlink-builtin-bitcode`
https://github.com/llvm/llvm-project/pull/196656
More information about the cfe-commits
mailing list