[PATCH] D108437: [CSSPGO] split context string III - llvm-profgen changes
Wei Mi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 23 12:10:30 PDT 2021
wmi added inline comments.
================
Comment at: llvm/tools/llvm-profgen/ProfileGenerator.cpp:335
+ SampleContextStorageType CalleeCtx(ContextId.begin(), ContextId.end());
+ assert(CalleeCtx.back().CallerName == LeafLoc->CallerName);
+ CalleeCtx.back() = *LeafLoc;
----------------
Add a message.
================
Comment at: llvm/tools/llvm-profgen/ProfileGenerator.cpp:347
+ SampleContextStorageType &CallerContext) {
+ assert(CalleeContext.size() > 1);
+ CalleeContext = CalleeContext.drop_back();
----------------
Add a message.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D108437/new/
https://reviews.llvm.org/D108437
More information about the llvm-commits
mailing list