mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
b987f39d75
Printing pass manager invocations is fairly verbose and not super useful. This allows us to remove DebugLogging from pass managers and PassBuilder since all logging (aside from analysis managers) goes through instrumentation now. This has the downside of never being able to print the top level pass manager via instrumentation, but that seems like a minor downside. Reviewed By: ychen Differential Revision: https://reviews.llvm.org/D101797
22 lines
1.1 KiB
LLVM
22 lines
1.1 KiB
LLVM
; RUN: opt -disable-verify -debug-pass-manager -pgo-kind=pgo-instr-gen-pipeline -passes='default<Os>' -S %s 2>&1 | FileCheck %s --check-prefixes=CHECK-Osz
|
|
; RUN: opt -disable-verify -debug-pass-manager -pgo-kind=pgo-instr-gen-pipeline -passes='default<Oz>' -S %s 2>&1 | FileCheck %s --check-prefixes=CHECK-Osz
|
|
|
|
; CHECK-Osz: Running pass: ModuleInlinerWrapperPass
|
|
; CHECK-Osz-NEXT: Running analysis: InlineAdvisorAnalysis
|
|
; CHECK-Osz-NEXT: Running analysis: InnerAnalysisManagerProxy
|
|
; CHECK-Osz-NEXT: Running analysis: LazyCallGraphAnalysis
|
|
; CHECK-Osz-NEXT: Running analysis: FunctionAnalysisManagerCGSCCProxy on (foo)
|
|
; CHECK-Osz-NEXT: Running analysis: OuterAnalysisManagerProxy
|
|
; CHECK-Osz-NEXT: Running pass: InlinerPass on (foo)
|
|
; CHECK-Osz-NEXT: Running pass: InlinerPass on (foo)
|
|
; CHECK-Osz-NEXT: Running pass: SROA on foo
|
|
; CHECK-Osz-NEXT: Running pass: EarlyCSEPass on foo
|
|
; CHECK-Osz-NEXT: Running pass: SimplifyCFGPass on foo
|
|
; CHECK-Osz-NEXT: Running pass: InstCombinePass on foo
|
|
; CHECK-Osz-NEXT: Running pass: GlobalDCEPass
|
|
; CHECK-Osz-NEXT: Running pass: PGOInstrumentationGen
|
|
|
|
define void @foo() {
|
|
ret void
|
|
}
|