================
@@ -804,6 +804,11 @@ static void InitializePredefinedMacros(const TargetInfo 
&TI,
     }
   }
 
+  if (TI.getTriple().getVendor() == Triple::AMD)
+    Builder.defineMacro("__AMD__");
+  if (TI.getTriple().getVendor() == Triple::Apple)
+    Builder.defineMacro("__APPLE__");
----------------
jroelofs wrote:

I think this is a behavior change for non-darwin triples, but only in a "tree 
falls in the forest" kind of way.

@fpetrogalli you were talking about this a while back. I don't remember the 
verdict.

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

Reply via email to