blob: e7593fa7ba12e47016e9e4e8b325d8ae7e4dc2b4 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; RUN: llvm-upgrade < %s | llvm-as | opt -predsimplify -verify
2
3; ModuleID = 'bugpoint-reduced-simplified.bc'
4target endian = little
5target pointersize = 32
6target triple = "i686-pc-linux-gnu"
7deplibs = [ "c", "crtend" ]
8 %struct.anon = type { %struct.set_family*, %struct.set_family*, %struct.set_family*, sbyte*, int, uint*, %struct.pair_struct*, sbyte**, %struct.symbolic_t*, %struct.symbolic_t* }
9 %struct.pair_struct = type { int, int*, int* }
10 %struct.set_family = type { int, int, int, int, int, uint*, %struct.set_family* }
11 %struct.symbolic_label_t = type { sbyte*, %struct.symbolic_label_t* }
12 %struct.symbolic_list_t = type { int, int, %struct.symbolic_list_t* }
13 %struct.symbolic_t = type { %struct.symbolic_list_t*, int, %struct.symbolic_label_t*, int, %struct.symbolic_t* }
14
15implementation ; Functions:
16
17void %find_pairing_cost(int %strategy) {
18entry:
19 br bool false, label %cond_true299, label %bb314
20
21bb94: ; preds = %cond_true299
22 switch int %strategy, label %bb246 [
23 int 0, label %bb196
24 int 1, label %bb159
25 ]
26
27cond_next113: ; preds = %cond_true299
28 switch int %strategy, label %bb246 [
29 int 0, label %bb196
30 int 1, label %bb159
31 ]
32
33bb159: ; preds = %cond_next113, %bb94
34 ret void
35
36bb196: ; preds = %cond_next113, %bb94
37 %Rsave.0.3 = phi %struct.set_family* [ null, %bb94 ], [ null, %cond_next113 ] ; <%struct.set_family*> [#uses=0]
38 ret void
39
40bb246: ; preds = %cond_next113, %bb94
41 br label %bb314
42
43cond_true299: ; preds = %entry
44 %tmp55 = setgt int %strategy, 0 ; <bool> [#uses=1]
45 br bool %tmp55, label %bb94, label %cond_next113
46
47bb314: ; preds = %bb246, %entry
48 ret void
49}