summaryrefslogtreecommitdiffstats
path: root/llvm/test/Other/2010-05-06-Printer.ll
blob: decd977c3d212820818ebcee1e916606aa01fd56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
; 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
OpenPOWER on IntegriCloud