1 ; 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 ; 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 ; RUN: llc < %s -O0 -verify-machineinstrs -fast-isel-abort=1 -relocation-model=dynamic-no-pic -mtriple=thumbv7-apple-ios | FileCheck %s --check-prefix=THUMB
5 define i32 @t1(i32 %a, i32 %b) nounwind uwtable ssp {
10 br i1 1, label %if.then, label %if.else
11 ; THUMB-NOT: b {{\.?}}LBB0_1
12 ; ARM-NOT: b {{\.?}}LBB0_1
14 if.then: ; preds = %entry
18 if.else: ; preds = %entry
19 br i1 0, label %if.then2, label %if.else3
20 ; THUMB: b {{\.?}}LBB0_4
21 ; ARM: b {{\.?}}LBB0_4
23 if.then2: ; preds = %if.else
27 if.else3: ; preds = %if.else
29 br i1 1, label %if.then5, label %if.end
30 ; THUMB-NOT: b {{\.?}}LBB0_5
31 ; ARM-NOT: b {{\.?}}LBB0_5
33 if.then5: ; preds = %if.else3
37 if.end: ; preds = %if.then5, %if.else3
40 if.end6: ; preds = %if.end, %if.then2
43 if.end7: ; preds = %if.end6, %if.then