llvm.org GIT mirror llvm / 343d8fb
Update LLVM test to not check for the EliminateAvailableExternallyPass for lto-pre-link O2 pipeline runs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@363977 91177308-0d34-0410-b5e6-96231b3b80d8 Leonard Chan a month ago
1 changed file(s) with 4 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
2323 ; RUN: | FileCheck %s --check-prefix=CHECK-O --check-prefix=CHECK-Oz
2424 ; RUN: opt -disable-verify -debug-pass-manager \
2525 ; RUN: -passes='lto-pre-link' -S %s 2>&1 \
26 ; RUN: | FileCheck %s --check-prefix=CHECK-O --check-prefix=CHECK-O2
26 ; RUN: | FileCheck %s --check-prefix=CHECK-O --check-prefix=CHECK-O2 \
27 ; RUN: --check-prefix=CHECK-O2-LTO
2728
2829 ; RUN: opt -disable-verify -debug-pass-manager \
2930 ; RUN: -passes-ep-peephole='no-op-function' \
222223 ; CHECK-O-NEXT: Starting llvm::Module pass manager run.
223224 ; CHECK-O-NEXT: Running pass: GlobalOptPass
224225 ; CHECK-O-NEXT: Running pass: GlobalDCEPass
225 ; CHECK-O-NEXT: Running pass: EliminateAvailableExternallyPass
226 ; CHECK-O-NEXT: Running pass: ReversePostOrderFunctionAttrsPass
226 ; CHECK-O2-LTO-NOT: Running pass: EliminateAvailableExternallyPass
227 ; CHECK-O: Running pass: ReversePostOrderFunctionAttrsPass
227228 ; CHECK-O-NEXT: Running pass: RequireAnalysisPass<{{.*}}GlobalsAA
228229 ; CHECK-O-NEXT: Running pass: ModuleToFunctionPassAdaptor<{{.*}}PassManager{{.*}}>
229230 ; CHECK-O-NEXT: Starting llvm::Function pass manager run.