[PATCH] D144500: [BOLT] initial version of stale profile matching
Amir Ayupov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 10 13:17:43 PDT 2023
Amir added inline comments.
================
Comment at: llvm/lib/Transforms/Utils/SampleProfileInference.cpp:1325
+/// profi options
void llvm::applyFlowInference(const ProfiParams &Params, FlowFunction &Func) {
+ // Check if the function has samples and assign initial flow values
----------------
There's an issue in shared build mode:
```
ld.lld: error: undefined symbol: llvm::applyFlowInference(llvm::ProfiParams const&, llvm::FlowFunction&)
>>> referenced by StaleProfileMatching.cpp
>>> tools/bolt/lib/Profile/CMakeFiles/LLVMBOLTProfile.dir/StaleProfileMatching.cpp.o:(llvm::bolt::applyInference(llvm::FlowFunction&))
```
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D144500/new/
https://reviews.llvm.org/D144500
More information about the llvm-commits
mailing list