1 ; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin | grep ldr | count 6
2 ; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin | grep non_lazy_ptr
3 ; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin | grep long | count 4
5 @x = external hidden global i32 ; <i32*> [#uses=1]
6 @y = extern_weak hidden global i32 ; <i32*> [#uses=1]
8 define i32 @t() nounwind readonly {
10 %0 = load i32* @x, align 4 ; <i32> [#uses=1]
11 %1 = load i32* @y, align 4 ; <i32> [#uses=1]
12 %2 = add i32 %1, %0 ; <i32> [#uses=1]