1 ; RUN: llc < %s -mtriple=thumbv8 -arm-atomic-cfg-tidy=0 | FileCheck %s
2 ; RUN: llc < %s -mtriple=thumbv7 -arm-atomic-cfg-tidy=0 -arm-restrict-it | FileCheck %s
5 ; CHECK-NEXT: bne [[JUMPTARGET:.LBB[0-9]+_[0-9]+]]
7 ; CHECK-NEXT: %if.else163
10 ; CHECK: [[JUMPTARGET]]:{{.*}}%if.else173
13 ; CHECK-NEXT: %if.else145
16 %struct.hc = type { i32, i32, i32, i32 }
18 define i32 @t(i32 %type) optsize {
20 br i1 undef, label %if.then, label %if.else
26 br i1 undef, label %if.then15, label %if.else18
32 switch i32 %type, label %if.else173 [
33 i32 3, label %if.then115
34 i32 1, label %if.then102
38 br i1 undef, label %cond.true10.i, label %t.exit
47 br i1 undef, label %if.else163, label %if.else145
50 %call150 = call fastcc %struct.hc* @foo(%struct.hc* undef, i32 34865152) optsize
51 br label %while.body172
54 %call168 = call fastcc %struct.hc* @foo(%struct.hc* undef, i32 34078720) optsize
55 br label %while.body172
58 br label %while.body172
64 declare hidden fastcc %struct.hc* @foo(%struct.hc* nocapture, i32) nounwind optsize