We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fe6677 commit 01a61c8Copy full SHA for 01a61c8
llvm/lib/Transforms/IPO/SampleProfileProbe.cpp
@@ -150,7 +150,7 @@ void PseudoProbeVerifier::verifyProbeFactors(
150
float CurProbeFactor = I.second;
151
auto [It, Inserted] = PrevProbeFactors.try_emplace(I.first);
152
if (!Inserted) {
153
- float PrevProbeFactor = PrevProbeFactors[I.first];
+ float PrevProbeFactor = It->second;
154
if (std::abs(CurProbeFactor - PrevProbeFactor) >
155
DistributionFactorVariance) {
156
if (!BannerPrinted) {
0 commit comments