remove unwind info, add test for asmprinting of jump table labels with (%rip)
[oota-llvm.git] / test / CodeGen / PowerPC / private.ll
1 ; Test to make sure that the 'private' is used correctly.
2 ;
3 ; RUN: llvm-as < %s | llc -mtriple=powerpc-unknown-linux-gnu > %t
4 ; RUN: grep .Lfoo: %t
5 ; RUN: grep bl.*\.Lfoo %t
6 ; RUN: grep .Lbaz: %t
7 ; RUN: grep lis.*\.Lbaz %t
8 ; RUN: llvm-as < %s | llc -mtriple=powerpc-apple-darwin > %t
9 ; RUN: grep L_foo: %t
10 ; RUN: grep bl.*\L_foo %t
11 ; RUN: grep L_baz: %t
12 ; RUN: grep lis.*\L_baz %t
13
14 declare void @foo()
15
16 define private void @foo() {
17         ret void
18 }
19
20 @baz = private global i32 4;
21
22 define i32 @bar() {
23         call void @foo()
24         %1 = load i32* @baz, align 4
25         ret i32 %1
26 }