Skip to content

Commit 39ba717

Browse files
committed
Changed ordering of matching
Created using spr 1.3.4
1 parent b851ca6 commit 39ba717

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bolt/lib/Profile/YAMLProfileReader.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -770,8 +770,8 @@ Error YAMLProfileReader::readProfile(BinaryContext &BC) {
770770
const size_t MatchedWithHash = matchWithHash(BC);
771771
const size_t MatchedWithLTOCommonName = matchWithLTOCommonName();
772772
const size_t MatchedWithCallGraph = matchWithCallGraph(BC);
773-
const size_t MatchedWithNameSimilarity = matchWithNameSimilarity(BC);
774773
const size_t MatchedWithPseudoProbes = matchWithPseudoProbes(BC);
774+
const size_t MatchedWithNameSimilarity = matchWithNameSimilarity(BC);
775775

776776
for (auto [YamlBF, BF] : llvm::zip_equal(YamlBP.Functions, ProfileBFs))
777777
if (!YamlBF.Used && BF && !ProfiledFunctions.count(BF))
@@ -792,10 +792,10 @@ Error YAMLProfileReader::readProfile(BinaryContext &BC) {
792792
<< " functions with matching LTO common names\n";
793793
outs() << "BOLT-INFO: matched " << MatchedWithCallGraph
794794
<< " functions with call graph\n";
795-
outs() << "BOLT-INFO: matched " << MatchedWithNameSimilarity
796-
<< " functions with similar names\n";
797795
outs() << "BOLT-INFO: matched " << MatchedWithPseudoProbes
798796
<< " functions with pseudo probes\n";
797+
outs() << "BOLT-INFO: matched " << MatchedWithNameSimilarity
798+
<< " functions with similar names\n";
799799
}
800800

801801
// Set for parseFunctionProfile().

0 commit comments

Comments
 (0)