1 ; RUN: llc -mtriple=armv7-pc-linux-gnueabi -relocation-model=pic < %s | FileCheck %s
5 define i32* @get_foo() {
9 ; Test that we only use one load. Even that is only needed because there
10 ; doesn't seem to be pc relative relocations for movw movt.
11 ; CHECK: ldr r0, .LCPI0_0
12 ; CHECK-NEXT: .L{{.*}}:
13 ; CHECK-NEXT: add r0, pc, r0
16 !llvm.module.flags = !{!0}
18 !0 = !{i32 1, !"PIE Level", i32 2}