[all-commits] [llvm/llvm-project] c3c182: Set TargetCPUName for AIX to default to pwr7.

jamieschmeiser via All-commits all-commits at lists.llvm.org
Thu Jul 29 07:00:11 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c3c1826c310c42244c7cad8d0c6af3a368fcd064
      https://github.com/llvm/llvm-project/commit/c3c1826c310c42244c7cad8d0c6af3a368fcd064
  Author: Jamie Schmeiser <schmeise at ca.ibm.com>
  Date:   2021-07-29 (Thu, 29 Jul 2021)

  Changed paths:
    M clang/lib/Driver/ToolChains/CommonArgs.cpp
    M clang/test/Driver/aix-mcpu-default.c

  Log Message:
  -----------
  Set TargetCPUName for AIX to default to pwr7.

Summary:
Set the TargetCPUName for AIX to default to pwr7, removing the setting
of it based on the major/minor of the OS version, which previously
set it to pwr4 for AIX 7.1 and earlier. The old code would also set it to
pwr4 when the OS version was not specified and with the change, it will
default it to pwr7 in all cases.

Author: Jamie Schmeiser <schmeise at ca.ibm.com>
Reviewed By:hubert.reinterpretcast (Hubert Tong)
Differential Revision: https://reviews.llvm.org/D107063




More information about the All-commits mailing list