Home | History | Annotate | Download | only in ARM
      1 ; RUN: llc < %s -mtriple=arm-apple-darwin9   | FileCheck %s
      2 
      3 @x = external hidden global i32		; <i32*> [#uses=1]
      4 @y = extern_weak hidden global i32	; <i32*> [#uses=1]
      5 
      6 define i32 @t() nounwind readonly {
      7 entry:
      8 ; CHECK: LCPI0_0:
      9 ; CHECK-NEXT: .long _x
     10 ; CHECK: LCPI0_1:
     11 ; CHECK-NEXT: .long _y
     12 
     13 	%0 = load i32* @x, align 4		; <i32> [#uses=1]
     14 	%1 = load i32* @y, align 4		; <i32> [#uses=1]
     15 	%2 = add i32 %1, %0		; <i32> [#uses=1]
     16 	ret i32 %2
     17 }
     18