================
@@ -3027,10 +3028,80 @@ void CodeGenFunction::EmitMultiVersionResolver(
   case llvm::Triple::riscv64:
     EmitRISCVMultiVersionResolver(Resolver, Options);
     return;
-
+  case llvm::Triple::ppc:
+  case llvm::Triple::ppc64:
+    if (getContext().getTargetInfo().getTriple().isOSAIX()) {
----------------
diggerlin wrote:

combine with line 3016 
 llvm::Triple::ArchType ArchType = llvm::Triple::ArchType ArchType =
      getContext().getTargetInfo().getTriple().getArch();

suggest to add a new Triple variable. 

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

Reply via email to