[llvm] b12e47c - [llvm-profdata] Fix tests for the typo fix

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


Author: Yi Kong
Date: 2025-08-23T16:33:16+09:00
New Revision: b12e47cdaa1868cc475836f432b75ce20a6ce53c

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

LOG: [llvm-profdata] Fix tests for the typo fix

Commit 74b19ef8 fixed a typo in llvm-profdata. The tests also need to
be updated with the typo fix.

Added: 
    

Modified: 
    llvm/test/tools/llvm-profdata/overlap.test
    llvm/test/tools/llvm-profdata/overlap_cs.test
    llvm/test/tools/llvm-profdata/overlap_vp.test

Removed: 
    


################################################################################
diff  --git a/llvm/test/tools/llvm-profdata/overlap.test b/llvm/test/tools/llvm-profdata/overlap.test
index 91379d5722e6e..6470e3f19712b 100644
--- a/llvm/test/tools/llvm-profdata/overlap.test
+++ b/llvm/test/tools/llvm-profdata/overlap.test
@@ -9,7 +9,7 @@ MAINFUNC:   # of edge counters overlap: 2
 MAINFUNC:   Edge profile overlap: 100.000%
 MAINFUNC:   Edge profile base count sum: 200000
 MAINFUNC:   Edge profile test count sum: 20000
-OVERLAP: Profile overlap infomation for base_profile: {{.*}} and test_profile:
+OVERLAP: Profile overlap information for base_profile: {{.*}} and test_profile:
 OVERLAP: Program level:
 OVERLAP:   # of functions overlap: 2
 OVERLAP:   # of functions mismatch: 1

diff  --git a/llvm/test/tools/llvm-profdata/overlap_cs.test b/llvm/test/tools/llvm-profdata/overlap_cs.test
index 3f2086a27c770..ba15418f87da8 100644
--- a/llvm/test/tools/llvm-profdata/overlap_cs.test
+++ b/llvm/test/tools/llvm-profdata/overlap_cs.test
@@ -2,7 +2,7 @@ RUN: llvm-profdata overlap -cs %p/Inputs/overlap_1_cs.proftext %p/Inputs/overlap
 RUN: llvm-profdata merge %p/Inputs/overlap_1_cs.proftext -o %t_1_cs.profdata
 RUN: llvm-profdata merge %p/Inputs/overlap_2_cs.proftext -o %t_2_cs.profdata
 RUN: llvm-profdata overlap -cs %t_1_cs.profdata %t_2_cs.profdata | FileCheck %s -check-prefix=OVERLAP
-OVERLAP: Profile overlap infomation for base_profile: {{.*}} and test_profile:
+OVERLAP: Profile overlap information for base_profile: {{.*}} and test_profile:
 OVERLAP: Program level:
 OVERLAP:  # of functions overlap: 1
 OVERLAP:  Edge profile overlap: 80.000%

diff  --git a/llvm/test/tools/llvm-profdata/overlap_vp.test b/llvm/test/tools/llvm-profdata/overlap_vp.test
index 228b809e218e4..4425696ab419c 100644
--- a/llvm/test/tools/llvm-profdata/overlap_vp.test
+++ b/llvm/test/tools/llvm-profdata/overlap_vp.test
@@ -2,7 +2,7 @@ RUN: llvm-profdata overlap %p/Inputs/overlap_1_vp.proftext %p/Inputs/overlap_2_v
 RUN: llvm-profdata merge %p/Inputs/overlap_1_vp.proftext -o %t_1_vp.profdata
 RUN: llvm-profdata merge %p/Inputs/overlap_2_vp.proftext -o %t_2_vp.profdata
 RUN: llvm-profdata overlap %t_1_vp.profdata %t_2_vp.profdata | FileCheck %s -check-prefix=OVERLAP
-OVERLAP: Profile overlap infomation for base_profile: {{.*}} and test_profile:
+OVERLAP: Profile overlap information for base_profile: {{.*}} and test_profile:
 OVERLAP: Program level:
 OVERLAP:   # of functions overlap: 1
 OVERLAP:   Edge profile overlap: 80.000%


        


More information about the llvm-commits mailing list