File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
clang/tools/clang-sycl-linker Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -367,14 +367,14 @@ static void getSPIRVTransOpts(const ArgList &Args,
367367static Expected<StringRef> runLLVMToSPIRVTranslation (StringRef File,
368368 const ArgList &Args) {
369369 llvm::TimeTraceScope TimeScope (" LLVMToSPIRVTranslation" );
370- StringRef LLVMSPIRVPath = Args.getLastArgValue (llvm_spirv_path_EQ );
370+ StringRef LLVMSPIRVPath = Args.getLastArgValue (OPT_llvm_spirv_path_EQ );
371371 Expected<std::string> LLVMToSPIRVProg =
372372 findProgram (Args, " llvm-spirv" , {LLVMSPIRVPath});
373373 if (!LLVMToSPIRVProg)
374374 return LLVMToSPIRVProg.takeError ();
375375
376376 SmallVector<StringRef, 8 > CmdArgs;
377- CmdArgs.push_back (*LLVMToSPIRVPath );
377+ CmdArgs.push_back (*LLVMToSPIRVProg );
378378 const llvm::Triple Triple (Args.getLastArgValue (OPT_triple));
379379 getSPIRVTransOpts (Args, CmdArgs, Triple);
380380 StringRef LLVMToSPIRVOptions;
You can’t perform that action at this time.
0 commit comments