1*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -O0 -verify-machineinstrs -fast-isel-abort=1 -relocation-model=dynamic-no-pic -mtriple=armv7-apple-ios | FileCheck %s --check-prefix=ARM 2*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -O0 -verify-machineinstrs -fast-isel-abort=1 -relocation-model=dynamic-no-pic -mtriple=armv7-linux-gnueabi | FileCheck %s --check-prefix=ARM 3*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -O0 -verify-machineinstrs -fast-isel-abort=1 -relocation-model=dynamic-no-pic -mtriple=thumbv7-apple-ios | FileCheck %s --check-prefix=THUMB 4*9880d681SAndroid Build Coastguard Worker 5*9880d681SAndroid Build Coastguard Workerdefine void @t1(i8* %x) { 6*9880d681SAndroid Build Coastguard Workerentry: 7*9880d681SAndroid Build Coastguard Worker; ARM: t1 8*9880d681SAndroid Build Coastguard Worker; THUMB: t1 9*9880d681SAndroid Build Coastguard Worker br label %L0 10*9880d681SAndroid Build Coastguard Worker 11*9880d681SAndroid Build Coastguard WorkerL0: 12*9880d681SAndroid Build Coastguard Worker br label %L1 13*9880d681SAndroid Build Coastguard Worker 14*9880d681SAndroid Build Coastguard WorkerL1: 15*9880d681SAndroid Build Coastguard Worker indirectbr i8* %x, [ label %L0, label %L1 ] 16*9880d681SAndroid Build Coastguard Worker; ARM: bx r0 17*9880d681SAndroid Build Coastguard Worker; THUMB: mov pc, r0 18*9880d681SAndroid Build Coastguard Worker} 19