2008-03-13-TwoAddrPassCrash.ll
2.31 KB
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
; RUN: llc < %s -mtriple=i686--
define signext i16 @t(i32 %depth) nounwind {
entry:
br i1 false, label %bb74, label %bb
bb: ; preds = %entry
ret i16 0
bb74: ; preds = %entry
switch i32 0, label %bail [
i32 17, label %bb84
i32 18, label %bb81
i32 33, label %bb80
i32 34, label %bb84
]
bb80: ; preds = %bb74
switch i32 %depth, label %bb103 [
i32 16, label %bb96
i32 32, label %bb91
i32 846624121, label %bb96
i32 1094862674, label %bb91
i32 1096368963, label %bb91
i32 1111970369, label %bb91
i32 1278555445, label %bb96
i32 1278555701, label %bb96
i32 1380401729, label %bb91
i32 1668118891, label %bb91
i32 1916022840, label %bb91
i32 1983131704, label %bb91
i32 2037741171, label %bb96
i32 2037741173, label %bb96
]
bb81: ; preds = %bb74
ret i16 0
bb84: ; preds = %bb74, %bb74
switch i32 %depth, label %bb103 [
i32 16, label %bb96
i32 32, label %bb91
i32 846624121, label %bb96
i32 1094862674, label %bb91
i32 1096368963, label %bb91
i32 1111970369, label %bb91
i32 1278555445, label %bb96
i32 1278555701, label %bb96
i32 1380401729, label %bb91
i32 1668118891, label %bb91
i32 1916022840, label %bb91
i32 1983131704, label %bb91
i32 2037741171, label %bb96
i32 2037741173, label %bb96
]
bb91: ; preds = %bb84, %bb84, %bb84, %bb84, %bb84, %bb84, %bb84, %bb84, %bb80, %bb80, %bb80, %bb80, %bb80, %bb80, %bb80, %bb80
%wMB.0.reg2mem.0 = phi i16 [ 16, %bb80 ], [ 16, %bb80 ], [ 16, %bb80 ], [ 16, %bb80 ], [ 16, %bb80 ], [ 16, %bb80 ], [ 16, %bb80 ], [ 16, %bb80 ], [ 0, %bb84 ], [ 0, %bb84 ], [ 0, %bb84 ], [ 0, %bb84 ], [ 0, %bb84 ], [ 0, %bb84 ], [ 0, %bb84 ], [ 0, %bb84 ] ; <i16> [#uses=2]
%tmp941478 = shl i16 %wMB.0.reg2mem.0, 2 ; <i16> [#uses=1]
br label %bb103
bb96: ; preds = %bb84, %bb84, %bb84, %bb84, %bb84, %bb84, %bb80, %bb80, %bb80, %bb80, %bb80, %bb80
ret i16 0
bb103: ; preds = %bb91, %bb84, %bb80
%wMB.0.reg2mem.2 = phi i16 [ %wMB.0.reg2mem.0, %bb91 ], [ 16, %bb80 ], [ 0, %bb84 ] ; <i16> [#uses=1]
%bBump.0 = phi i16 [ %tmp941478, %bb91 ], [ 16, %bb80 ], [ 0, %bb84 ] ; <i16> [#uses=0]
br i1 false, label %bb164, label %UnifiedReturnBlock
bb164: ; preds = %bb103
%tmp167168 = sext i16 %wMB.0.reg2mem.2 to i32 ; <i32> [#uses=0]
ret i16 0
bail: ; preds = %bb74
ret i16 0
UnifiedReturnBlock: ; preds = %bb103
ret i16 0
}