mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-28 14:10:41 +00:00
Filecheckize some tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189079 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e0e66b9dfa
commit
7feaf762f4
@ -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