1 ; RUN: llc < %s -mtriple=arm-linux-gnueabi | FileCheck %s
6 ; CHECK: .size .Lstructvar, 8
9 ; CHECK: .set foo1, bar
10 ; CHECK-NOT: .size foo1
13 ; CHECK: .set foo2, bar
14 ; CHECK-NOT: .size foo2
17 ; CHECK: .set bar_f, foo_f
18 ; CHECK-NOT: .size bar_f
20 ; CHECK: .set bar_i, bar
21 ; CHECK-NOT: .size bar_i
28 ; CHECK: .set elem0, .Lstructvar
29 ; CHECK: .size elem0, 4
32 ; CHECK: .set elem1, .Lstructvar+4
33 ; CHECK: .size elem1, 4
36 @foo1 = alias i32, i32* @bar
37 @foo2 = alias i32, i32* @bar
44 @bar_f = weak alias %FunTy, %FunTy* @foo_f
46 @bar_i = internal alias i32, i32* @bar
48 @A = alias i64, bitcast (i32* @bar to i64*)
50 @structvar = private global {i32, i32} {i32 1, i32 2}
51 @elem0 = alias i32, getelementptr({i32, i32}, {i32, i32}* @structvar, i32 0, i32 0)
52 @elem1 = alias i32, getelementptr({i32, i32}, {i32, i32}* @structvar, i32 0, i32 1)
56 %tmp = load i32, i32* @foo1
57 %tmp1 = load i32, i32* @foo2
58 %tmp0 = load i32, i32* @bar_i
59 %tmp2 = call i32 @foo_f()
60 %tmp3 = add i32 %tmp, %tmp2
61 %tmp4 = call i32 @bar_f()
62 %tmp5 = add i32 %tmp3, %tmp4
63 %tmp6 = add i32 %tmp1, %tmp5
64 %tmp7 = add i32 %tmp6, %tmp0