1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test/Other/2010-05-06-Printer.ll
Fangrui Song 5c162bc608 [PassInstrumentation] Remove excess newline for the new pass manager
This also removes excess newline for the legacy pass manager when -filter-print-funcs is specified.
2019-11-28 17:20:17 -08:00

21 lines
517 B
LLVM

; RUN: llc -O2 -print-after-all < %s 2>/dev/null
; RUN: llc -O2 -print-after-all < %s 2>&1 | FileCheck %s --check-prefix=ALL
; RUN: llc -O2 -print-after-all -filter-print-funcs=foo < %s 2>&1 | FileCheck %s --check-prefix=FOO
; REQUIRES: default_triple
define void @tester(){
ret void
}
define void @foo(){
ret void
}
;ALL-NOT: IR Dump After {{.*}}; ModuleID =
;ALL: define void @tester()
;ALL: define void @foo()
;ALL: ModuleID =
;FOO: IR Dump After
;FOO-NEXT: define void @foo()
;FOO-NOT: define void @tester