File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -167,20 +167,6 @@ getHIPOffloadTargetTriple(const Driver &D, const ArgList &Args) {
167167 return std::nullopt ;
168168}
169169
170- static std::optional<llvm::Triple>
171- getSPIRVOffloadTargetTriple (const Driver &D, const ArgList &Args) {
172- if (!Args.hasArg (options::OPT_offload_EQ))
173- return llvm::Triple (
174- " spirv64-intel" ); // Only vendor "intel" is currently supported.
175- auto TT = getOffloadTargetTriple (D, Args);
176- if (!TT)
177- return std::nullopt ;
178- if ((*TT).isSPIRV () && (*TT).getVendor () == llvm::Triple::Intel)
179- return TT;
180- D.Diag (diag::err_drv_invalid_or_unsupported_offload_target) << TT->str ();
181- return std::nullopt ;
182- }
183-
184170// static
185171std::string Driver::GetResourcesPath (StringRef BinaryPath) {
186172 // Since the resource directory is embedded in the module hash, it's important
You can’t perform that action at this time.
0 commit comments