[X86] Add XSAVE intrinsic family
[oota-llvm.git] / test / CodeGen / X86 / private.ll
1 ; Test to make sure that the 'private' is used correctly.
2 ;
3 ; RUN: llc < %s -mtriple=x86_64-pc-linux | FileCheck %s
4
5 define private void @foo() {
6         ret void
7
8 ; CHECK: .Lfoo:
9 }
10
11 define i32 @bar() {
12         call void @foo()
13         %1 = load i32, i32* @baz, align 4
14         ret i32 %1
15
16 ; CHECK-LABEL: bar:
17 ; CHECK: callq .Lfoo
18 ; CHECK: movl   .Lbaz(%rip)
19 }
20
21 @baz = private global i32 4
22 ; CHECK: .Lbaz: