1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00
llvm-mirror/test/Other/debug-pass-manager.ll
2021-07-19 15:08:26 -07:00

20 lines
704 B
LLVM

; RUN: opt -passes=inline < %s -debug-pass-manager 2>&1 | FileCheck %s --check-prefix=NORMAL
; RUN: opt -passes=inline < %s -debug-pass-manager=quiet 2>&1 | FileCheck %s --check-prefix=QUIET
; RUN: opt -passes=inline < %s -debug-pass-manager=verbose 2>&1 | FileCheck %s --check-prefix=VERBOSE
define void @a() {
ret void
}
; QUIET-NOT: Running pass: ModuleToPostOrderCGSCCPassAdaptor
; QUIET: Running pass: InlinerPass
; QUIET-NOT: Running analysis
; NORMAL-NOT: Running pass: ModuleToPostOrderCGSCCPassAdaptor
; NORMAL: Running pass: InlinerPass
; NORMAL: Running analysis
; VERBOSE: Running pass: ModuleToPostOrderCGSCCPassAdaptor
; VERBOSE: Running pass: InlinerPass
; VERBOSE: Running analysis