[llvm] 74b19ef - [ProfileData] Fix typo in profile overlap message (NFC)

Yi Kong via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 23 00:17:56 PDT 2025


Author: Yi Kong
Date: 2025-08-23T16:17:26+09:00
New Revision: 74b19ef868662f9de95115c7fb3d2c2e0b47a8bf

URL: https://github.com/llvm/llvm-project/commit/74b19ef868662f9de95115c7fb3d2c2e0b47a8bf
DIFF: https://github.com/llvm/llvm-project/commit/74b19ef868662f9de95115c7fb3d2c2e0b47a8bf.diff

LOG: [ProfileData] Fix typo in profile overlap message (NFC)

Corrects an "infomation" -> "information" typo in the summary message
printed by `llvm-profdata overlap`.

Added: 
    

Modified: 
    llvm/lib/ProfileData/InstrProf.cpp
    llvm/tools/llvm-profdata/llvm-profdata.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/ProfileData/InstrProf.cpp b/llvm/lib/ProfileData/InstrProf.cpp
index 7885e127c3418..e1c6315853b3b 100644
--- a/llvm/lib/ProfileData/InstrProf.cpp
+++ b/llvm/lib/ProfileData/InstrProf.cpp
@@ -1607,7 +1607,7 @@ void OverlapStats::dump(raw_fd_ostream &OS) const {
   const char *EntryName =
       (Level == ProgramLevel ? "functions" : "edge counters");
   if (Level == ProgramLevel) {
-    OS << "Profile overlap infomation for base_profile: " << *BaseFilename
+    OS << "Profile overlap information for base_profile: " << *BaseFilename
        << " and test_profile: " << *TestFilename << "\nProgram level:\n";
   } else {
     OS << "Function level:\n"

diff  --git a/llvm/tools/llvm-profdata/llvm-profdata.cpp b/llvm/tools/llvm-profdata/llvm-profdata.cpp
index 207ae2ddd4cf2..8fe0887c59774 100644
--- a/llvm/tools/llvm-profdata/llvm-profdata.cpp
+++ b/llvm/tools/llvm-profdata/llvm-profdata.cpp
@@ -2629,7 +2629,7 @@ void SampleOverlapAggregator::dumpFuncSimilarity(raw_fd_ostream &OS) const {
 }
 
 void SampleOverlapAggregator::dumpProgramSummary(raw_fd_ostream &OS) const {
-  OS << "Profile overlap infomation for base_profile: "
+  OS << "Profile overlap information for base_profile: "
      << ProfOverlap.BaseName.toString()
      << " and test_profile: " << ProfOverlap.TestName.toString()
      << "\nProgram level:\n";


        


More information about the llvm-commits mailing list