[PATCH] D157280: [PGO] Enable `-fprofile-update` for `-fprofile-generate`
Qiongsi Wu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 7 06:20:17 PDT 2023
qiongsiwu1 created this revision.
qiongsiwu1 added reviewers: MaskRay, davidxl, w2yehia.
Herald added subscribers: wlei, ormris, wenlei, hiraditya.
Herald added a project: All.
qiongsiwu1 requested review of this revision.
Herald added projects: clang, LLVM.
Herald added subscribers: llvm-commits, cfe-commits.
Currently, the `-fprofile-udpate` is ignored when `-fprofile-generate` is in effect. This patch enables `-fprofile-update` for `-fprofile-generate`.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D157280
Files:
clang/lib/CodeGen/BackendUtil.cpp
clang/test/CodeGen/tsan-instrprof-atomic.c
llvm/include/llvm/Passes/PassBuilder.h
llvm/include/llvm/Support/PGOOptions.h
llvm/lib/Passes/PassBuilderPipelines.cpp
llvm/lib/Support/PGOOptions.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157280.547760.patch
Type: text/x-patch
Size: 9512 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230807/bbaa586a/attachment.bin>
More information about the llvm-commits
mailing list