1 ; RUN: llc < %s -mtriple=thumbv7-apple-darwin9 -mcpu=cortex-a8
4 %struct.Hosp = type { i32, i32, i32, %struct.List, %struct.List, %struct.List, %struct.List }
5 %struct.List = type { ptr, ptr, ptr }
6 %struct.Patient = type { i32, i32, i32, ptr }
7 %struct.Village = type { [4 x ptr], ptr, %struct.List, %struct.Hosp, i32, i32 }
9 define ptr @sim(ptr %village) nounwind {
11 br i1 undef, label %bb14, label %bb3.preheader
13 bb3.preheader: ; preds = %entry
16 bb5: ; preds = %bb5, %bb3.preheader
17 br i1 undef, label %bb11, label %bb5
20 %0 = fmul float undef, 0x41E0000000000000 ; <float> [#uses=1]
21 %1 = fptosi float %0 to i32 ; <i32> [#uses=1]
22 store i32 %1, ptr undef, align 4
23 br i1 undef, label %generate_patient.exit, label %generate_patient.exit.thread
25 generate_patient.exit.thread: ; preds = %bb11
28 generate_patient.exit: ; preds = %bb11
29 br i1 undef, label %bb14, label %bb12
31 bb12: ; preds = %generate_patient.exit
32 br i1 undef, label %bb.i, label %bb1.i
37 bb1.i: ; preds = %bb12
40 bb14: ; preds = %generate_patient.exit, %entry