[clang] [llvm] [Driver][clang-linker-wrapper] Add initial support for OpenMP offloading to generic SPIR-V (PR #120145)

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 17 07:00:25 PST 2024


================
@@ -4256,6 +4256,7 @@ bool CompilerInvocation::ParseLangArgs(LangOptions &Opts, ArgList &Args,
 
       if (TT.getArch() == llvm::Triple::UnknownArch ||
           !(TT.getArch() == llvm::Triple::aarch64 || TT.isPPC() ||
+            TT.getArch() == llvm::Triple::spirv64 ||
----------------
jhuber6 wrote:

Honestly the more I see added to this big if statement the more I'm convinced it doesn't need to exist.

https://github.com/llvm/llvm-project/pull/120145


More information about the cfe-commits mailing list