[llvm] [MemProf] Track and report profiled sizes through cloning (PR #98382)
Snehasish Kumar via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 10 18:04:05 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;
----------------
snehasish wrote:
I don't understand why we need an empty vector to move here. Can you explain?
https://github.com/llvm/llvm-project/pull/98382
More information about the llvm-commits
mailing list