[PATCH] D107063: Set TargetCPUName for AIX to default to pwr7.

Hubert Tong via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 29 06:27:07 PDT 2021


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

LGTM with comment.



================
Comment at: clang/test/Driver/aix-mcpu-default.c:9
 
-// Check that the target cpu defaults to power4 on AIX7.1 and below.
+// Check that the target cpu defaults to power7 on AIX7.1 and below.
 // RUN: %clang -no-canonical-prefixes %s -### -c 2>&1 \
----------------
I suggest this test be modified to check that the target cpu is power7 even when the version level is unspecified.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D107063



More information about the cfe-commits mailing list