2010-06-18 09:49:17 +08:00
|
|
|
; RUN: llc -O2 -print-after-all < %s 2>/dev/null
|
2016-01-07 06:55:03 +08:00
|
|
|
; 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
|
2015-09-16 13:34:32 +08:00
|
|
|
; REQUIRES: default_triple
|
2016-01-07 02:31:44 +08:00
|
|
|
define void @tester(){
|
2016-01-07 02:20:25 +08:00
|
|
|
ret void
|
|
|
|
}
|
|
|
|
|
2016-01-07 06:55:03 +08:00
|
|
|
define void @foo(){
|
|
|
|
ret void
|
|
|
|
}
|
|
|
|
|
2018-11-14 18:05:28 +08:00
|
|
|
;ALL-NOT: IR Dump After {{.*}}; ModuleID =
|
2016-01-07 06:55:03 +08:00
|
|
|
;ALL: define void @tester()
|
|
|
|
;ALL: define void @foo()
|
|
|
|
;ALL: ModuleID =
|
|
|
|
|
|
|
|
;FOO: IR Dump After
|
|
|
|
;FOO-NEXT: define void @foo()
|
|
|
|
;FOO-NOT: define void @tester
|