[PATCH] D102429: [CSSPGO] Update pseudo probe distribution factor based on inline context.
Wenlei He via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 14 10:35:28 PDT 2021
wenlei added inline comments.
================
Comment at: llvm/lib/Transforms/IPO/SampleProfileProbe.cpp:121
if (Optional<PseudoProbe> Probe = extractProbe(I))
- ProbeFactors[Probe->Id] += Probe->Factor;
+ ProbeFactors[Probe.getValue()] += Probe->Factor;
}
----------------
is `getValue` a new member of `PseudoProbe` struct? didn't find the definition.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102429/new/
https://reviews.llvm.org/D102429
More information about the llvm-commits
mailing list