aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/2009-06-02-ISelCrash.ll
blob: 7cd35b9557d013ef4799fe4fa8a3a2c090c98e4e (plain)
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin -relocation-model=pic -mattr=+v6,+vfp2

@"\01LC" = external constant [15 x i8]		; <[15 x i8]*> [#uses=1]

declare i32 @printf(i8* nocapture, ...) nounwind

define i32 @main() nounwind {
entry:
	br label %bb.i1.i

bb.i1.i:		; preds = %Cos.exit.i.i, %entry
	br label %bb.i.i.i

bb.i.i.i:		; preds = %bb.i.i.i, %bb.i1.i
	br i1 undef, label %Cos.exit.i.i, label %bb.i.i.i

Cos.exit.i.i:		; preds = %bb.i.i.i
	br i1 undef, label %bb2.i.i, label %bb.i1.i

bb2.i.i:		; preds = %Cos.exit.i.i
	br label %bb3.i.i

bb3.i.i:		; preds = %bb5.i.i, %bb2.i.i
	br label %bb4.i.i

bb4.i.i:		; preds = %bb4.i.i, %bb3.i.i
	br i1 undef, label %bb5.i.i, label %bb4.i.i

bb5.i.i:		; preds = %bb4.i.i
	br i1 undef, label %bb.i, label %bb3.i.i

bb.i:		; preds = %bb.i, %bb5.i.i
	br i1 undef, label %bb1.outer2.i.i.outer, label %bb.i

bb1.outer2.i.i.outer:		; preds = %Fft.exit.i, %bb5.i12.i, %bb.i
	br label %bb1.outer2.i.i

bb1.outer2.i.i:		; preds = %bb2.i9.i, %bb1.outer2.i.i.outer
	br label %bb1.i.i

bb1.i.i:		; preds = %bb1.i.i, %bb1.outer2.i.i
	br i1 undef, label %bb2.i9.i, label %bb1.i.i

bb2.i9.i:		; preds = %bb1.i.i
	br i1 undef, label %bb4.i11.i, label %bb1.outer2.i.i

bb4.i11.i:		; preds = %bb4.i11.i, %bb2.i9.i
	br i1 undef, label %bb5.i12.i, label %bb4.i11.i

bb5.i12.i:		; preds = %bb4.i11.i
	br i1 undef, label %bb7.i.i, label %bb1.outer2.i.i.outer

bb7.i.i:		; preds = %bb7.i.i, %bb5.i12.i
	br i1 undef, label %Fft.exit.i, label %bb7.i.i

Fft.exit.i:		; preds = %bb7.i.i
	br i1 undef, label %bb5.i, label %bb1.outer2.i.i.outer

bb5.i:		; preds = %Fft.exit.i
	%0 = tail call i32 (i8*, ...)* @printf(i8* getelementptr ([15 x i8]* @"\01LC", i32 0, i32 0), double undef, double undef) nounwind		; <i32> [#uses=0]
	unreachable
}