================
@@ -175,7 +175,8 @@ void NVPTXTargetInfo::getTargetDefines(const LangOptions 
&Opts,
 
   // Skip setting architecture dependent macros if undefined.
   if (!IsNVIDIAOffloadArch(GPU))
-    return;
+    if (GPU == OffloadArch::Unused && !HostTarget)
----------------
kraj wrote:

Yes it is. The CI 2was failing for the indentation I therefore added it . I can 
remove it if that’s better

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

Reply via email to