1 ; RUN: llc -mtriple=thumbv6m-apple-macho %s -relocation-model=static -o - | FileCheck %s
2 ; RUN: llc -mtriple=thumbv6m-apple-macho %s -relocation-model=pic -o - | FileCheck %s
4 @var = global i8 zeroinitializer
6 declare void @callee(ptr)
8 define void @foo() minsize {
10 ; CHECK: ldr {{r[0-7]}}, LCPI0_0
11 call void @callee(ptr @var)
12 call void asm sideeffect "", "~{r0},~{r1},~{r2},~{r3},~{r4},~{r5},~{r6},~{r7}"()
13 call void @callee(ptr @var)