================ @@ -209,6 +210,13 @@ void AMDGCN::Linker::ConstructJob(Compilation &C, const JobAction &JA, if (JA.getType() == types::TY_LLVM_BC) return constructLlvmLinkCommand(C, JA, Inputs, Output, Args); + if (Args.getLastArgValue(options::OPT_mcpu_EQ) == "generic") { + llvm::opt::ArgStringList TrArgs{"--spirv-max-version=1.1", ---------------- yxsamliu wrote:
> I'm not sure we want to stick with 1.1 here, the Translator goes up to 1.4 at > the moment - should we consider going to that instead? Thanks for reminder. I think we should be able to go up with the version since we will use ToT of the LLVM/SPIRV translator. https://github.com/llvm/llvm-project/pull/75357 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits