1 ; RUN: llc -mtriple=thumbv7-apple-darwin10 -arm-atomic-cfg-tidy=0 -disable-cgp-delete-phis < %s | FileCheck %s
3 %struct.op = type { ptr, ptr, ptr, i32, i16, i16, i8, i8 }
7 ; CHECK: mov [[REGISTER:(r[0-9]+)|(lr)]]
8 ; CHECK: str {{(r[0-9])|(lr)}}, [[[REGISTER]]], #24
10 define void @Perl_ck_sort() nounwind optsize {
12 %tmp27 = load ptr, ptr undef, align 4
13 switch i16 undef, label %if.end151 [
14 i16 178, label %if.then60
15 i16 177, label %if.then60
18 if.then60: ; preds = %if.then40
19 br i1 undef, label %if.then67, label %if.end95
21 if.then67: ; preds = %if.then60
22 store ptr %tmp27, ptr %tmp27, align 4
23 %0 = getelementptr inbounds %struct.op, ptr %tmp27, i32 1, i32 0
26 if.end95: ; preds = %if.else92, %if.then67
27 %.pre-phi = phi ptr [ undef, %if.then60 ], [ %0, %if.then67 ]
28 %tmp98 = load ptr, ptr %.pre-phi, align 4
31 if.end151: ; preds = %if.end100, %if.end, %entry