[PATCH] D147456: [AutoFDO] Stale profile matching(part 1)
Lei Wang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 17 10:44:53 PDT 2023
wlei added inline comments.
================
Comment at: llvm/include/llvm/ProfileData/SampleProf.h:848
+ return Loc;
+ const auto &NewLoc = IRToProfileLocationMap->find(Loc);
+ if (NewLoc != IRToProfileLocationMap->end())
----------------
davidxl wrote:
> NewLoc can be confusing. Perhaps name it "OrigLoc" or "ProfileLoc".
Changed to `ProfileLoc `, thanks!
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147456/new/
https://reviews.llvm.org/D147456
More information about the llvm-commits
mailing list