Skip to content

Commit

Permalink
test/CodeGen/SPARC/private.ll: FileCheck-ize.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159642 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
chapuni committed Jul 3, 2012
1 parent 95643d0 commit 0176dfe
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion 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
Expand All @@ -9,6 +9,7 @@
define private void @foo() {
ret void
}
; CHECK: [[FOO:\..*foo]]:

@baz = private global i32 4

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

0 comments on commit 0176dfe

Please sign in to comment.