Home | History | Annotate | Download | only in ARM
      1 ; Test to make sure that the 'private' is used correctly.
      2 ;
      3 ; RUN: llc < %s -mtriple=arm-linux-gnueabi | FileCheck %s
      4 ; CHECK: .Lfoo:
      5 ; CHECK-LABEL: bar:
      6 ; CHECK: bl .Lfoo
      7 ; CHECK: .long .Lbaz
      8 ; CHECK: .Lbaz:
      9 
     10 define private void @foo() {
     11         ret void
     12 }
     13 
     14 @baz = private global i32 4
     15 
     16 define i32 @bar() {
     17         call void @foo()
     18 	%1 = load i32* @baz, align 4
     19         ret i32 %1
     20 }
     21 
     22