1 ; RUN: llc < %s -mtriple=powerpc-unknown-linux-gnu -relocation-model=pic | FileCheck -check-prefix=SMALL-BSS %s
2 @bar = common global i32 0, align 4
6 %0 = load i32* @bar, align 4
10 !llvm.module.flags = !{!0}
11 !0 = !{i32 1, !"PIC Level", i32 1}
12 ; SMALL-BSS-LABEL:foo:
13 ; SMALL-BSS: stw 30, -8(1)
14 ; SMALL-BSS: bl _GLOBAL_OFFSET_TABLE_@local-4
16 ; SMALL-BSS: lwz [[VREG:[0-9]+]], bar@GOT(30)
17 ; SMALL-BSS-DAG: lwz {{[0-9]+}}, 0([[VREG]])
18 ; SMALL-BSS-DAG: lwz 30, -8(1)