• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc -O2 -print-after-all < %s 2>/dev/null
2; RUN: llc -O2 -print-after-all < %s 2>&1 | FileCheck %s --check-prefix=ALL
3; RUN: llc -O2 -print-after-all -filter-print-funcs=foo < %s 2>&1 | FileCheck %s --check-prefix=FOO
4; REQUIRES: default_triple
5define void @tester(){
6  ret void
7}
8
9define void @foo(){
10  ret void
11}
12
13;ALL-NOT: IR Dump After {{.*}}; ModuleID =
14;ALL: define void @tester()
15;ALL: define void @foo()
16;ALL: ModuleID =
17
18;FOO: IR Dump After
19;FOO-NEXT: define void @foo()
20;FOO-NOT: define void @tester
21