[all-commits] [llvm/llvm-project] 611ce2: [PGO] Enable `-fprofile-update` for `-fprofile-gen...
Qiongsi Wu via All-commits
all-commits at lists.llvm.org
Tue Aug 15 07:12:50 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 611ce24114aac1befac6e65d85b0daa721cf71fd
https://github.com/llvm/llvm-project/commit/611ce24114aac1befac6e65d85b0daa721cf71fd
Author: Qiongsi Wu <qwu at ibm.com>
Date: 2023-08-15 (Tue, 15 Aug 2023)
Changed paths:
M clang/docs/UsersManual.rst
M clang/lib/CodeGen/BackendUtil.cpp
M clang/test/CodeGen/tsan-instrprof-atomic.c
M llvm/include/llvm/Passes/PassBuilder.h
M llvm/include/llvm/Support/PGOOptions.h
M llvm/lib/Passes/PassBuilderPipelines.cpp
M llvm/lib/Support/PGOOptions.cpp
Log Message:
-----------
[PGO] Enable `-fprofile-update` for `-fprofile-generate`
Currently, the `-fprofile-udpate` is ignored when `-fprofile-generate` is in effect. This patch enables `-fprofile-update` for `-fprofile-generate`. This patch continues the work from https://reviews.llvm.org/D87737, which added `-fprofile-update` in the first place.
Reviewed By: MaskRay
Differential Revision: https://reviews.llvm.org/D157280
More information about the All-commits
mailing list