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 71b89b1 commit 4edd74aCopy full SHA for 4edd74a
llvm/include/llvm/Analysis/BlockFrequencyInfoImpl.h
@@ -1449,8 +1449,8 @@ void BlockFrequencyInfoImpl<BT>::verifyMatch(
1449
BlockNode Node = Entry.second;
1450
if (OtherValidNodes.count(BB)) {
1451
BlockNode OtherNode = OtherValidNodes[BB];
1452
- auto Freq = Freqs[Node.Index];
1453
- auto OtherFreq = Other.Freqs[OtherNode.Index];
+ const auto &Freq = Freqs[Node.Index];
+ const auto &OtherFreq = Other.Freqs[OtherNode.Index];
1454
if (Freq.Integer != OtherFreq.Integer) {
1455
Match = false;
1456
dbgs() << "Freq mismatch: " << bfi_detail::getBlockName(BB) << " "
0 commit comments