aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2012-07-03 04:21:57 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2012-07-03 04:21:57 +0000
commit0176dfed275c9d2a39bbe5ba0445dee01d3507ea (patch)
tree5c34fbcf8b7e22c94d66c375b9e8b65d159e4568
parent95643d0832e3a5d72c0535f6bb84b4a7b4a04f96 (diff)
downloadexternal_llvm-0176dfed275c9d2a39bbe5ba0445dee01d3507ea.zip
external_llvm-0176dfed275c9d2a39bbe5ba0445dee01d3507ea.tar.gz
external_llvm-0176dfed275c9d2a39bbe5ba0445dee01d3507ea.tar.bz2
test/CodeGen/SPARC/private.ll: FileCheck-ize.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159642 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGen/SPARC/private.ll8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/CodeGen/SPARC/private.ll b/test/CodeGen/SPARC/private.ll
index f06ccd0..f543136 100644
--- a/test/CodeGen/SPARC/private.ll
+++ b/test/CodeGen/SPARC/private.ll
@@ -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]]