This is an archive of the discontinued LLVM Phabricator instance.

[AIX] Change the default target CPU to power4 for AIX on Power
ClosedPublic

Authored by stevewan on May 29 2020, 12:59 PM.

Details

Summary

This patch changes the AIX default target CPU to power4 since this is the the lowest arch for the lowest OS level supported.

Diff Detail

Event Timeline

stevewan created this revision.May 29 2020, 12:59 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 29 2020, 12:59 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript

LGTM; thanks.

clang/lib/Driver/ToolChains/CommonArgs.cpp
301

A separate patch may be in order for changing this to take the non-Darwin path without checking.

This revision is now accepted and ready to land.Jun 2 2020, 9:01 PM
This revision was automatically updated to reflect the committed changes.
stevewan marked an inline comment as done.Jun 3 2020, 1:02 PM
stevewan marked an inline comment as done.
stevewan added inline comments.
clang/lib/Driver/ToolChains/CommonArgs.cpp
301

A separate patch created here, https://reviews.llvm.org/D81115.