1
0
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:
Michael Gottesman 2013-08-23 00:23:28 +00:00
parent 0f9b142f60
commit 5f6dfacead
2 changed files with 10 additions and 3 deletions

View File

@ -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]

View File

@ -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]