[llvm] [MemProf] Track and report profiled sizes through cloning (PR #98382)
Teresa Johnson via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 11 13:59:11 PDT 2024
================
@@ -935,6 +948,7 @@ ModuleSummaryIndex llvm::buildModuleSummaryIndex(
CantBePromoted.insert(GV->getGUID());
// Create the appropriate summary type.
if (Function *F = dyn_cast<Function>(GV)) {
+ std::vector<AllocInfo> EmptyAllocInfo;
----------------
teresajohnson wrote:
Yeah, it looks like that doesn't affect the overhead noticeably, so I have gone ahead with that simplification.
https://github.com/llvm/llvm-project/pull/98382
More information about the llvm-commits
mailing list