================
@@ -632,6 +632,8 @@ void amdgpu::Linker::ConstructJob(Compilation &C, const
JobAction &JA,
Args.MakeArgString("-plugin-opt=-mattr=" + llvm::join(Features, ",")));
}
+ getToolChain().addProfileRTLibs(Args, CmdArgs);
----------------
yxsamliu wrote:
I assume it is. Then my concern is that it may break existing apps using PGO if
they do not build amdgpu profile library. I am thinking whether we should
enable building of amdgpu profile library by default if llvm targets include
amdgpu.
https://github.com/llvm/llvm-project/pull/185761
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits