File: 2009-08-04-SubregLoweringBug2.ll

package info (click to toggle)
llvm-3.0 3.0-10
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 75,412 kB
  • sloc: cpp: 468,043; asm: 109,345; ansic: 13,782; sh: 12,935; ml: 4,716; python: 4,351; perl: 2,096; makefile: 1,905; pascal: 1,578; exp: 389; xml: 283; lisp: 187; csh: 117
file content (42 lines) | stat: -rw-r--r-- 1,316 bytes parent folder | download | duplicates (28)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
; RUN: llc < %s -mtriple=thumbv7-apple-darwin9 -mcpu=cortex-a8
; rdar://7117307

	%struct.Hosp = type { i32, i32, i32, %struct.List, %struct.List, %struct.List, %struct.List }
	%struct.List = type { %struct.List*, %struct.Patient*, %struct.List* }
	%struct.Patient = type { i32, i32, i32, %struct.Village* }
	%struct.Village = type { [4 x %struct.Village*], %struct.Village*, %struct.List, %struct.Hosp, i32, i32 }

define %struct.List* @sim(%struct.Village* %village) nounwind {
entry:
	br i1 undef, label %bb14, label %bb3.preheader

bb3.preheader:		; preds = %entry
	br label %bb5

bb5:		; preds = %bb5, %bb3.preheader
	br i1 undef, label %bb11, label %bb5

bb11:		; preds = %bb5
	%0 = fmul float undef, 0x41E0000000000000		; <float> [#uses=1]
	%1 = fptosi float %0 to i32		; <i32> [#uses=1]
	store i32 %1, i32* undef, align 4
	br i1 undef, label %generate_patient.exit, label %generate_patient.exit.thread

generate_patient.exit.thread:		; preds = %bb11
	ret %struct.List* null

generate_patient.exit:		; preds = %bb11
	br i1 undef, label %bb14, label %bb12

bb12:		; preds = %generate_patient.exit
	br i1 undef, label %bb.i, label %bb1.i

bb.i:		; preds = %bb12
	ret %struct.List* null

bb1.i:		; preds = %bb12
	ret %struct.List* null

bb14:		; preds = %generate_patient.exit, %entry
	ret %struct.List* undef
}