1*9880d681SAndroid Build Coastguard Worker; RUN: llc -mtriple=thumbv6m-apple-macho %s -relocation-model=static -o - | FileCheck %s 2*9880d681SAndroid Build Coastguard Worker; RUN: llc -mtriple=thumbv6m-apple-macho %s -relocation-model=pic -o - | FileCheck %s 3*9880d681SAndroid Build Coastguard Worker 4*9880d681SAndroid Build Coastguard Worker@var = global i8 zeroinitializer 5*9880d681SAndroid Build Coastguard Worker 6*9880d681SAndroid Build Coastguard Workerdeclare void @callee(i8*) 7*9880d681SAndroid Build Coastguard Worker 8*9880d681SAndroid Build Coastguard Workerdefine void @foo() minsize { 9*9880d681SAndroid Build Coastguard Worker; CHECK-LABEL: foo: 10*9880d681SAndroid Build Coastguard Worker; CHECK: ldr {{r[0-7]}}, LCPI0_0 11*9880d681SAndroid Build Coastguard Worker call void @callee(i8* @var) 12*9880d681SAndroid Build Coastguard Worker call void asm sideeffect "", "~{r0},~{r1},~{r2},~{r3},~{r4},~{r5},~{r6},~{r7}"() 13*9880d681SAndroid Build Coastguard Worker call void @callee(i8* @var) 14*9880d681SAndroid Build Coastguard Worker ret void 15*9880d681SAndroid Build Coastguard Worker}