[PATCH] D138854: [AIX][LTO] Enabling Context Sensitive PGO Options
Qiongsi Wu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 28 12:33:08 PST 2022
qiongsiwu1 created this revision.
qiongsiwu1 added reviewers: w2yehia, MaskRay.
qiongsiwu1 added projects: clang, LLVM.
Herald added subscribers: ormris, StephenFan, wenlei, steven_wu, hiraditya, inglorion.
Herald added a project: All.
qiongsiwu1 requested review of this revision.
Herald added subscribers: llvm-commits, cfe-commits.
This patch enables context sensitive PGO (CSPGO) for LTO on AIX. Two parts are involved:
1. Frontend logic is added so libLTO can understand the CSPGO related options.
2. Two options are added to the backend so that the LTOCodeGenerator can understand the CSPGO related options and make use of them.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D138854
Files:
clang/lib/Driver/ToolChains/CommonArgs.cpp
clang/test/Driver/lto-aix.c
llvm/lib/LTO/LTOCodeGenerator.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138854.478329.patch
Type: text/x-patch
Size: 4651 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221128/e0e54959/attachment-0001.bin>
More information about the cfe-commits
mailing list