[clang] [clang][Driver] SPIRVAMDToolChain must not require device libs. (PR #171815)
Manuel Carrasco via cfe-commits
cfe-commits at lists.llvm.org
Thu Dec 11 08:00:16 PST 2025
================
@@ -466,3 +466,12 @@ Tool *SPIRVAMDToolChain::buildLinker() const {
assert(getTriple().getArch() == llvm::Triple::spirv64);
return new tools::AMDGCN::Linker(*this);
}
+
+void SPIRVAMDToolChain::addClangTargetOptions(
----------------
mgcarrasco wrote:
Thanks, now we skip device libs in ROCMToolChain for SPIR-V.
https://github.com/llvm/llvm-project/pull/171815
More information about the cfe-commits
mailing list