================
@@ -516,11 +516,16 @@ void MSVCToolChain::addSYCLIncludeArgs(const ArgList
&DriverArgs,
SYCLInstallation->addSYCLIncludeArgs(DriverArgs, CC1Args);
}
-void MSVCToolChain::AddHIPRuntimeLibArgs(const ArgList &Args,
- ArgStringList &CmdArgs) const {
- CmdArgs.append({Args.MakeArgString(StringRef("-libpath:") +
- RocmInstallation->getLibPath()),
- "amdhip64.lib"});
+void MSVCToolChain::addOffloadRTLibs(unsigned ActiveKinds, const ArgList &Args,
+ ArgStringList &CmdArgs) const {
+ if (Args.hasArg(options::OPT_no_hip_rt) || Args.hasArg(options::OPT_r))
----------------
jhuber6 wrote:
Apparently not, this is old behavior and regresses the tests if changed
https://github.com/llvm/llvm-project/pull/176019
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits