mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-07 12:30:44 +00:00
b85410e4f3
Fix lit test fail due to outputting an extra line. Differential Revision: http://reviews.llvm.org/D15776 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256987 91177308-0d34-0410-b5e6-96231b3b80d8
20 lines
474 B
LLVM
20 lines
474 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: define void @tester()
|
|
;ALL: define void @foo()
|
|
;ALL: ModuleID =
|
|
|
|
;FOO: IR Dump After
|
|
;FOO-NEXT: define void @foo()
|
|
;FOO-NOT: define void @tester
|