This is an archive of the discontinued LLVM Phabricator instance.

[ThinLTO][AIX] Enable thinLTO on AIX
ClosedPublic

Authored by w2yehia on Jul 19 2023, 6:37 AM.

Details

Summary

Starting from AIX 7.2 TL5 SP6 and AIX 7.3 TODO the system linker supports thinLTO.

Diff Detail

Event Timeline

w2yehia created this revision.Jul 19 2023, 6:37 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 19 2023, 6:37 AM
w2yehia requested review of this revision.Jul 19 2023, 6:37 AM
ZarkoCA accepted this revision.Jul 19 2023, 7:37 AM

Personal preference style nit but LGTM.

clang/lib/Driver/ToolChains/CommonArgs.cpp
674–679

Above is a refactor nit.

This revision is now accepted and ready to land.Jul 19 2023, 7:37 AM
MaskRay accepted this revision.Jul 19 2023, 8:36 AM
w2yehia added inline comments.Jul 19 2023, 10:32 AM
clang/lib/Driver/ToolChains/CommonArgs.cpp
674–679

I wanted to avoid touching the CmdArgs.push_bac... line to preserve git blame. Also, the suggested version is more lines.

This revision was landed with ongoing or failed builds.Jul 19 2023, 10:37 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptJul 19 2023, 10:37 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
clang/test/CodeGen/thinlto-backend-option.ll