[PATCH] D80835: [AIX] Change the default target CPU to power4 for AIX on Power

Hubert Tong via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 2 21:21:08 PDT 2020


hubert.reinterpretcast accepted this revision.
hubert.reinterpretcast added a comment.
This revision is now accepted and ready to land.

LGTM; thanks.



================
Comment at: clang/lib/Driver/ToolChains/CommonArgs.cpp:301
+        TargetCPUName = "pwr4";
+      else if (!T.isOSDarwin()) {
+        if (T.getArch() == llvm::Triple::ppc64)
----------------
A separate patch may be in order for changing this to take the non-Darwin path without checking.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D80835/new/

https://reviews.llvm.org/D80835





More information about the cfe-commits mailing list