• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -mtriple=thumbv7-apple-darwin9 -mcpu=cortex-a8
2; rdar://7117307
3
4	%struct.Hosp = type { i32, i32, i32, %struct.List, %struct.List, %struct.List, %struct.List }
5	%struct.List = type { %struct.List*, %struct.Patient*, %struct.List* }
6	%struct.Patient = type { i32, i32, i32, %struct.Village* }
7	%struct.Village = type { [4 x %struct.Village*], %struct.Village*, %struct.List, %struct.Hosp, i32, i32 }
8
9define %struct.List* @sim(%struct.Village* %village) nounwind {
10entry:
11	br i1 undef, label %bb14, label %bb3.preheader
12
13bb3.preheader:		; preds = %entry
14	br label %bb5
15
16bb5:		; preds = %bb5, %bb3.preheader
17	br i1 undef, label %bb11, label %bb5
18
19bb11:		; preds = %bb5
20	%0 = fmul float undef, 0x41E0000000000000		; <float> [#uses=1]
21	%1 = fptosi float %0 to i32		; <i32> [#uses=1]
22	store i32 %1, i32* undef, align 4
23	br i1 undef, label %generate_patient.exit, label %generate_patient.exit.thread
24
25generate_patient.exit.thread:		; preds = %bb11
26	ret %struct.List* null
27
28generate_patient.exit:		; preds = %bb11
29	br i1 undef, label %bb14, label %bb12
30
31bb12:		; preds = %generate_patient.exit
32	br i1 undef, label %bb.i, label %bb1.i
33
34bb.i:		; preds = %bb12
35	ret %struct.List* null
36
37bb1.i:		; preds = %bb12
38	ret %struct.List* null
39
40bb14:		; preds = %generate_patient.exit, %entry
41	ret %struct.List* undef
42}
43