]> granicus.if.org Git - llvm/commitdiff
Update LLVM test to not check for the EliminateAvailableExternallyPass
authorLeonard Chan <leonardchan@google.com>
Thu, 20 Jun 2019 20:51:58 +0000 (20:51 +0000)
committerLeonard Chan <leonardchan@google.com>
Thu, 20 Jun 2019 20:51:58 +0000 (20:51 +0000)
for lto-pre-link O2 pipeline runs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@363977 91177308-0d34-0410-b5e6-96231b3b80d8

test/Other/new-pm-defaults.ll

index d29c127d984539787142ecab06a5c12b1b988918..4437ed89aca7ebfed0ab5180e9f78e4ed88df598 100644 (file)
@@ -24,7 +24,8 @@
 ; RUN:     | FileCheck %s --check-prefix=CHECK-O --check-prefix=CHECK-Oz
 ; RUN: opt -disable-verify -debug-pass-manager \
 ; RUN:     -passes='lto-pre-link<O2>' -S %s 2>&1 \
-; RUN:     | FileCheck %s --check-prefix=CHECK-O --check-prefix=CHECK-O2
+; RUN:     | FileCheck %s --check-prefix=CHECK-O --check-prefix=CHECK-O2 \
+; RUN:     --check-prefix=CHECK-O2-LTO
 
 ; RUN: opt -disable-verify -debug-pass-manager \
 ; RUN:     -passes-ep-peephole='no-op-function' \
 ; CHECK-O-NEXT: Starting llvm::Module pass manager run.
 ; CHECK-O-NEXT: Running pass: GlobalOptPass
 ; CHECK-O-NEXT: Running pass: GlobalDCEPass
-; CHECK-O-NEXT: Running pass: EliminateAvailableExternallyPass
-; CHECK-O-NEXT: Running pass: ReversePostOrderFunctionAttrsPass
+; CHECK-O2-LTO-NOT: Running pass: EliminateAvailableExternallyPass
+; CHECK-O: Running pass: ReversePostOrderFunctionAttrsPass
 ; CHECK-O-NEXT: Running pass: RequireAnalysisPass<{{.*}}GlobalsAA
 ; CHECK-O-NEXT: Running pass: ModuleToFunctionPassAdaptor<{{.*}}PassManager{{.*}}>
 ; CHECK-O-NEXT: Starting llvm::Function pass manager run.