aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC/2008-04-10-LiveIntervalCrash.ll
blob: 410736d5872d649e6b59c25ff9f2cf78512cfa9d (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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
; RUN: llvm-as < %s | llc -mtriple=powerpc-apple-darwin

define fastcc i64 @nonzero_bits1() nounwind  {
entry:
	switch i32 0, label %bb1385 [
		 i32 28, label %bb235
		 i32 35, label %bb153
		 i32 37, label %bb951
		 i32 40, label %bb289
		 i32 44, label %bb1344
		 i32 46, label %bb651
		 i32 47, label %bb651
		 i32 48, label %bb322
		 i32 49, label %bb651
		 i32 50, label %bb651
		 i32 51, label %bb651
		 i32 52, label %bb651
		 i32 53, label %bb651
		 i32 54, label %bb535
		 i32 55, label %bb565
		 i32 56, label %bb565
		 i32 58, label %bb1100
		 i32 59, label %bb1100
		 i32 60, label %bb1100
		 i32 61, label %bb1100
		 i32 63, label %bb565
		 i32 64, label %bb565
		 i32 65, label %bb565
		 i32 66, label %bb565
		 i32 73, label %bb302
		 i32 74, label %bb302
		 i32 75, label %bb302
		 i32 76, label %bb302
		 i32 77, label %bb302
		 i32 78, label %bb302
		 i32 79, label %bb302
		 i32 80, label %bb302
		 i32 81, label %bb302
		 i32 82, label %bb302
		 i32 83, label %bb302
		 i32 84, label %bb302
		 i32 85, label %bb302
		 i32 86, label %bb302
		 i32 87, label %bb302
		 i32 88, label %bb302
		 i32 89, label %bb302
		 i32 90, label %bb302
		 i32 91, label %bb507
		 i32 92, label %bb375
		 i32 93, label %bb355
		 i32 103, label %bb1277
		 i32 104, label %bb1310
		 i32 105, label %UnifiedReturnBlock
		 i32 106, label %bb1277
		 i32 107, label %bb1343
	]
bb153:		; preds = %entry
	ret i64 0
bb235:		; preds = %entry
	br i1 false, label %bb245, label %UnifiedReturnBlock
bb245:		; preds = %bb235
	ret i64 0
bb289:		; preds = %entry
	ret i64 0
bb302:		; preds = %entry, %entry, %entry, %entry, %entry, %entry, %entry, %entry, %entry, %entry, %entry, %entry, %entry, %entry, %entry, %entry, %entry, %entry
	ret i64 0
bb322:		; preds = %entry
	ret i64 0
bb355:		; preds = %entry
	ret i64 0
bb375:		; preds = %entry
	ret i64 0
bb507:		; preds = %entry
	ret i64 0
bb535:		; preds = %entry
	ret i64 0
bb565:		; preds = %entry, %entry, %entry, %entry, %entry, %entry
	ret i64 0
bb651:		; preds = %entry, %entry, %entry, %entry, %entry, %entry, %entry
	ret i64 0
bb951:		; preds = %entry
	ret i64 0
bb1100:		; preds = %entry, %entry, %entry, %entry
	ret i64 0
bb1277:		; preds = %entry, %entry
	br i1 false, label %UnifiedReturnBlock, label %bb1284
bb1284:		; preds = %bb1277
	ret i64 0
bb1310:		; preds = %entry
	ret i64 0
bb1343:		; preds = %entry
	ret i64 1
bb1344:		; preds = %entry
	ret i64 0
bb1385:		; preds = %entry
	ret i64 0
UnifiedReturnBlock:		; preds = %bb1277, %bb235, %entry
	%UnifiedRetVal = phi i64 [ 0, %bb235 ], [ undef, %bb1277 ], [ -1, %entry ]		; <i64> [#uses=1]
	ret i64 %UnifiedRetVal
}