1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

test/CodeGen/SPARC/private.ll: FileCheck-ize.

llvm-svn: 159642
This commit is contained in:
NAKAMURA Takumi 2012-07-03 04:21:57 +00:00
parent 99db282ba1
commit 8e3879b6ce

View File

@ -1,6 +1,6 @@
; Test to make sure that the 'private' is used correctly.
;
; RUN: llc < %s -march=sparc > %t
; RUN: llc < %s -march=sparc | FileCheck %s
; RUN: grep .foo: %t
; RUN: grep call.*\.foo %t
; RUN: grep .baz: %t
@ -9,6 +9,7 @@
define private void @foo() {
ret void
}
; CHECK: [[FOO:\..*foo]]:
@baz = private global i32 4
@ -17,3 +18,8 @@ define i32 @bar() {
%1 = load i32* @baz, align 4
ret i32 %1
}
; CHECK: call [[FOO]]
; CHECK: ld {{.+}}[[BAZ:\..*baz]]
; CHECK: [[BAZ]]