================
@@ -3928,6 +3928,11 @@ static StringRef getCanonicalArchString(Compilation &C,
         return StringRef();
       }
     }
+  } else if (Triple.isSPIRV() && ArchStr.starts_with("igca_") &&
----------------
srividya-sundaram wrote:


> As for amdgcnspirv, what if I stop this check from running for all AMD 
> triples?

 Could we instead reject IGCA names when `Triple.getVendor() == 
llvm::Triple::AMD`, and add the `spirv64-amd-amdhsa` test Tom asked for? 

https://github.com/llvm/llvm-project/pull/227468
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to