================
@@ -922,6 +947,8 @@ void Driver::CreateOffloadingDeviceToolChains(Compilation 
&C,
                    IsAMDOffloadArch(StringToOffloadArch(
                        getProcessorFromTargetID(*AMDTriple, Arch)))) {
           DerivedArchs[AMDTriple->getTriple()].insert(Arch);
+        } else if (SPIRVTriple && Arch == (*SPIRVTriple).str()) {
----------------
jhuber6 wrote:

What is `Arch` here exactly? My understanding is that SPIR-V has no concept of 
`-mcpu` arguments.

https://github.com/llvm/llvm-project/pull/120145
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to