[all-commits] [llvm/llvm-project] 2d6418: [nfc][PGO]Factor out profile scaling into a standa...
Mingming Liu via All-commits
all-commits at lists.llvm.org
Wed Mar 27 11:57:29 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2d641858fa44db315a42fa1b5ba43540f1ca1ea4
https://github.com/llvm/llvm-project/commit/2d641858fa44db315a42fa1b5ba43540f1ca1ea4
Author: Mingming Liu <mingmingl at google.com>
Date: 2024-03-27 (Wed, 27 Mar 2024)
Changed paths:
M llvm/include/llvm/IR/ProfDataUtils.h
M llvm/lib/IR/Instructions.cpp
M llvm/lib/IR/ProfDataUtils.cpp
A llvm/test/Transforms/Inline/update_invoke_prof.ll
A llvm/test/Transforms/Inline/update_value_profile.ll
Log Message:
-----------
[nfc][PGO]Factor out profile scaling into a standalone helper function (#83780)
- Put the helper function in `ProfDataUtil.h/cpp`, which is already a
dependency of `Instructions.cpp`
- The helper function could be re-used to update profiles of
`InvokeInst` (in a follow-up pull request)
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list