llvm.org GIT mirror llvm / 047f4f5
Manually reduce this testcase. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112615 91177308-0d34-0410-b5e6-96231b3b80d8 Owen Anderson 9 years ago
1 changed file(s) with 16 addition(s) and 82 deletion(s). Raw diff Collapse all Expand all
0 ; RUN: opt < %s -jump-threading -disable-output
1 ; ModuleID = 'bugpoint-reduced-simplified.bc'
2 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
3 target triple = "x86_64-apple-darwin10.4"
41
5 define void @encode_one_macroblock_highfast() nounwind ssp {
2 define void @test() nounwind ssp {
63 entry:
7 switch i32 undef, label %bb13 [
8 i32 1, label %bb10
9 i32 2, label %bb12
10 ]
4 br i1 undef, label %bb269.us.us, label %bb269.us.us.us
115
12 bb10: ; preds = %entry
6 bb269.us.us.us:
7 %indvar = phi i64 [ %indvar.next, %bb287.us.us.us ], [ 0, %entry ]
8 %0 = icmp eq i16 undef, 0
9 br i1 %0, label %bb287.us.us.us, label %bb286.us.us.us
10
11 bb287.us.us.us:
12 %indvar.next = add i64 %indvar, 1
13 %exitcond = icmp eq i64 %indvar.next, 4
14 br i1 %exitcond, label %bb288.bb289.loopexit_crit_edge, label %bb269.us.us.us
15
16 bb286.us.us.us:
1317 unreachable
1418
15 bb12: ; preds = %entry
16 unreachable
19 bb269.us.us:
20 unreachable
1721
18 bb13: ; preds = %entry
19 br i1 undef, label %bb137, label %bb292
20
21 bb137: ; preds = %bb13
22 br i1 undef, label %bb150, label %bb154
23
24 bb150: ; preds = %bb137
25 unreachable
26
27 bb154: ; preds = %bb137
28 br i1 undef, label %bb292, label %bb246
29
30 bb246: ; preds = %bb154
31 br i1 undef, label %bb292, label %bb247
32
33 bb247: ; preds = %bb246
34 br i1 undef, label %bb248, label %bb292
35
36 bb248: ; preds = %bb247
37 br i1 undef, label %bb249, label %bb292
38
39 bb249: ; preds = %bb248
40 br i1 undef, label %bb254, label %bb250
41
42 bb250: ; preds = %bb249
43 unreachable
44
45 bb254: ; preds = %bb249
46 br i1 undef, label %bb292, label %bb255
47
48 bb255: ; preds = %bb288.bb289.loopexit_crit_edge, %bb254
49 br i1 undef, label %bb.nph.split.us, label %bb269
50
51 bb.nph.split.us: ; preds = %bb255
52 br i1 undef, label %bb.nph.split.us.split.us, label %bb269.us.us31
53
54 bb.nph.split.us.split.us: ; preds = %bb.nph.split.us
55 br i1 undef, label %bb269.us.us, label %bb269.us.us.us
56
57 bb269.us.us.us: ; preds = %bb287.us.us.us, %bb.nph.split.us.split.us
58 %indvar = phi i64 [ %indvar.next, %bb287.us.us.us ], [ 0, %bb.nph.split.us.split.us ] ; [#uses=1]
59 %0 = icmp eq i16 undef, 0 ; [#uses=1]
60 br i1 %0, label %bb287.us.us.us, label %bb286.us.us.us
61
62 bb287.us.us.us: ; preds = %bb269.us.us.us
63 %indvar.next = add i64 %indvar, 1 ; [#uses=2]
64 %exitcond = icmp eq i64 %indvar.next, 4 ; [#uses=1]
65 br i1 %exitcond, label %bb288.bb289.loopexit_crit_edge, label %bb269.us.us.us
66
67 bb286.us.us.us: ; preds = %bb269.us.us.us
68 unreachable
69
70 bb269.us.us: ; preds = %bb287.us.us, %bb.nph.split.us.split.us
71 br i1 undef, label %bb287.us.us, label %bb286.us.us
72
73 bb287.us.us: ; preds = %bb269.us.us
74 br i1 undef, label %bb288.bb289.loopexit_crit_edge, label %bb269.us.us
75
76 bb286.us.us: ; preds = %bb269.us.us
77 unreachable
78
79 bb269.us.us31: ; preds = %bb.nph.split.us
80 unreachable
81
82 bb269: ; preds = %bb255
83 unreachable
84
85 bb288.bb289.loopexit_crit_edge: ; preds = %bb287.us.us, %bb287.us.us.us
86 br i1 undef, label %bb292, label %bb255
87
88 bb292: ; preds = %bb288.bb289.loopexit_crit_edge, %bb254, %bb248, %bb247, %bb246, %bb154, %bb13
22 bb288.bb289.loopexit_crit_edge:
8923 unreachable
9024 }