|
1 | 1 | ; RUN: opt -debug-pass-manager -passes='default<O2>' -pgo-kind=pgo-instr-gen-pipeline -profile-file='temp' %s 2>&1 |FileCheck %s --check-prefixes=GEN
|
2 | 2 | ; RUN: llvm-profdata merge %S/Inputs/new-pm-pgo.proftext -o %t.profdata
|
3 | 3 | ; RUN: opt -debug-pass-manager -passes='default<O2>' -pgo-kind=pgo-instr-use-pipeline -profile-file='%t.profdata' %s 2>&1 |FileCheck %s --check-prefixes=USE
|
4 |
| -; RUN: opt -debug-pass-manager -passes='thinlto-pre-link<O2>' -pgo-kind=pgo-instr-use-pipeline -profile-file='%t.profdata' %s 2>&1 |FileCheck %s --check-prefixes=USE |
5 |
| -; RUN: opt -debug-pass-manager -passes='thinlto<O2>' -pgo-kind=pgo-instr-use-pipeline -profile-file='%t.profdata' %s 2>&1 |FileCheck %s --check-prefixes=USE_POST_LINK |
6 | 4 | ; RUN: opt -debug-pass-manager -passes='default<O2>' -hot-cold-split -pgo-kind=pgo-instr-use-pipeline -profile-file='%t.profdata' %s 2>&1 |FileCheck %s --check-prefixes=USE --check-prefixes=SPLIT
|
7 | 5 | ; RUN: opt -debug-pass-manager -passes='default<O2>' -pgo-kind=pgo-sample-use-pipeline -profile-file='%S/Inputs/new-pm-pgo.prof' %s 2>&1 \
|
8 | 6 | ; RUN: |FileCheck %s --check-prefixes=SAMPLE_USE,SAMPLE_USE_O
|
|
16 | 14 | ; USE: Running pass: PGOInstrumentationUse
|
17 | 15 | ; USE: Running pass: PGOIndirectCallPromotion
|
18 | 16 | ; USE: Running pass: PGOMemOPSizeOpt
|
19 |
| -; USE_POST_LINK: Running pass: PGOIndirectCallPromotion |
20 |
| -; USE_POST_LINK: Running pass: PGOMemOPSizeOpt |
21 | 17 | ; SAMPLE_USE_O: Running pass: ModuleToFunctionPassAdaptor<{{.*}}AddDiscriminatorsPass{{.*}}>
|
22 | 18 | ; SAMPLE_USE_PRE_LINK: Running pass: ModuleToFunctionPassAdaptor<{{.*}}AddDiscriminatorsPass{{.*}}>
|
23 | 19 | ; SAMPLE_USE: Running pass: SimplifyCFGPass
|
|
29 | 25 | ; SAMPLE_USE_O: Running pass: PGOIndirectCallPromotion
|
30 | 26 | ; SAMPLE_USE_POST_LINK-NOT: Running pass: GlobalOptPass
|
31 | 27 | ; SAMPLE_USE_POST_LINK: Running pass: PGOIndirectCallPromotion
|
32 |
| -; SAMPLE_USE_PRE_LINK-NOT: Running pass: PGOIndirectCallPromotion |
33 | 28 | ; SAMPLE_GEN: Running pass: ModuleToFunctionPassAdaptor<{{.*}}AddDiscriminatorsPass{{.*}}>
|
34 | 29 | ; SPLIT: Running pass: HotColdSplittingPass
|
35 | 30 |
|
|
0 commit comments