[PATCH] D124788: [CSSPGO][NFC] Replace SampleProfileLoader::ProfileIsCS with FunctionSamples::ProfileIsCS.
Hongtao Yu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 3 18:23:44 PDT 2022
hoy added inline comments.
================
Comment at: llvm/lib/Transforms/IPO/SampleProfile.cpp:2039
- if (FunctionSamples::ProfileIsCS) {
- ProfileIsCS = true;
+ if (Reader->profileIsCS()) {
// Tracker for profiles under different context
----------------
wenlei wrote:
> Any reason to avoid using FunctionSamples::ProfileIsCS here?
Just to be consistent with other checks right above.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124788/new/
https://reviews.llvm.org/D124788
More information about the llvm-commits
mailing list