[clang] 0e7cfa5 - [CodeGen] Remove mentions of OLDPM

Kazu Hirata via cfe-commits cfe-commits at lists.llvm.org
Sat Jun 10 10:40:58 PDT 2023


Author: Kazu Hirata
Date: 2023-06-10T10:40:43-07:00
New Revision: 0e7cfa59ebe9d87029ebf75bb4a05316dd3c3d63

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

LOG: [CodeGen] Remove mentions of OLDPM

We stopped testing with -check-prefix=SAMPLEPGO-OLDPM and
-check-prefix=THINLTO-OLDPM as of:

  commit 8a7a28075b7fa70d56b131c10a4d1add777d5830
  Author: Thomas Preud'homme <thomasp at graphcore.ai>
  Date:   Fri Sep 17 10:23:40 2021 +0100

Added: 
    

Modified: 
    clang/test/CodeGen/pgo-sample-thinlto-summary.c

Removed: 
    


################################################################################
diff  --git a/clang/test/CodeGen/pgo-sample-thinlto-summary.c b/clang/test/CodeGen/pgo-sample-thinlto-summary.c
index f29180eab3b6c..23233c8f44f5c 100644
--- a/clang/test/CodeGen/pgo-sample-thinlto-summary.c
+++ b/clang/test/CodeGen/pgo-sample-thinlto-summary.c
@@ -14,20 +14,9 @@ void foo(int n) {
 // SAMPLEPGO:               Running pass: PGOIndirectCallPromotion on [module]
 // SAMPLEPGO:               Running pass: LoopUnrollPass on bar
 
-// SAMPLEPGO-OLDPM:         PGOIndirectCallPromotion
-// SAMPLEPGO-OLDPM:         Unroll loops
-// SAMPLEPGO-OLDPM:         Unroll loops
-
 // THINLTO-NOT:             Running pass: PGOIndirectCallPromotion on [module]
 // THINLTO-NOT:             Running pass: LoopUnrollPass on bar
 
-// THINLTO-OLDPM-NOT:       PGOIndirectCallPromotion
-// The first Unroll loop pass is the createSimpleLoopUnrollPass that unrolls and peels
-// loops with small constant trip counts. The second one is skipped by ThinLTO.
-// THINLTO-OLDPM:           Unroll loops
-// THINLTO-OLDPM-NOT:       Unroll loops
-
-
 // Checks if hot call is inlined by normal compile, but not inlined by
 // thinlto compile.
 // SAMPLEPGO-LABEL: define {{(dso_local )?}}void @bar


        


More information about the cfe-commits mailing list