1 ; RUN: llc < %s -O0 -verify-machineinstrs -fast-isel-abort -relocation-model=dynamic-no-pic -mtriple=armv7-apple-ios | FileCheck %s --check-prefix=ARM
2 ; RUN: llc < %s -O0 -verify-machineinstrs -fast-isel-abort -relocation-model=dynamic-no-pic -mtriple=thumbv7-apple-ios | FileCheck %s --check-prefix=THUMB
4 define i32 @t1(i32 %a, i32 %b) nounwind uwtable ssp {
9 br i1 1, label %if.then, label %if.else
10 ; THUMB-NOT: b {{\.?}}LBB0_1
11 ; ARM-NOT: b {{\.?}}LBB0_1
13 if.then: ; preds = %entry
17 if.else: ; preds = %entry
18 br i1 0, label %if.then2, label %if.else3
19 ; THUMB: b {{\.?}}LBB0_4
20 ; ARM: b {{\.?}}LBB0_4
22 if.then2: ; preds = %if.else
26 if.else3: ; preds = %if.else
28 br i1 1, label %if.then5, label %if.end
29 ; THUMB-NOT: b {{\.?}}LBB0_5
30 ; ARM-NOT: b {{\.?}}LBB0_5
32 if.then5: ; preds = %if.else3
36 if.end: ; preds = %if.then5, %if.else3
39 if.end6: ; preds = %if.end, %if.then2
42 if.end7: ; preds = %if.end6, %if.then