mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Filecheckize some tests.
llvm-svn: 189079
This commit is contained in:
parent
0f9b142f60
commit
5f6dfacead
@ -1,5 +1,10 @@
|
||||
; RUN: opt < %s -strip -S | grep foo | count 2
|
||||
; RUN: opt < %s -strip -S | grep bar | count 2
|
||||
; RUN: opt < %s -strip -S | FileCheck %s
|
||||
|
||||
; CHECK: foo
|
||||
; CHECK: bar
|
||||
; CHECK: foo
|
||||
; CHECK: bar
|
||||
|
||||
@llvm.used = appending global [2 x i8*] [ i8* bitcast (i32* @foo to i8*), i8* bitcast (i32 ()* @bar to i8*) ], section "llvm.metadata" ; <[2 x i8*]*> [#uses=0]
|
||||
@foo = internal constant i32 41 ; <i32*> [#uses=1]
|
||||
|
||||
|
@ -1,4 +1,6 @@
|
||||
; RUN: opt -strip-debug < %s | llvm-dis | grep -v llvm.dbg
|
||||
; RUN: opt -strip-debug < %s -S | FileCheck %s
|
||||
|
||||
; CHECK-NOT: llvm.dbg
|
||||
|
||||
@x = common global i32 0 ; <i32*> [#uses=0]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user