1 ; RUN: llvm-upgrade < %s | llvm-as | opt -predsimplify -verify
3 ; ModuleID = 'bugpoint-reduced-simplified.bc'
5 target pointersize = 32
6 target triple = "i686-pc-linux-gnu"
7 deplibs = [ "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* }
15 implementation ; Functions:
17 void %find_pairing_cost(int %strategy) {
19 br bool false, label %cond_true299, label %bb314
21 bb94: ; preds = %cond_true299
22 switch int %strategy, label %bb246 [
27 cond_next113: ; preds = %cond_true299
28 switch int %strategy, label %bb246 [
33 bb159: ; preds = %cond_next113, %bb94
36 bb196: ; preds = %cond_next113, %bb94
37 %Rsave.0.3 = phi %struct.set_family* [ null, %bb94 ], [ null, %cond_next113 ] ; <%struct.set_family*> [#uses=0]
40 bb246: ; preds = %cond_next113, %bb94
43 cond_true299: ; preds = %entry
44 %tmp55 = setgt int %strategy, 0 ; <bool> [#uses=1]
45 br bool %tmp55, label %bb94, label %cond_next113
47 bb314: ; preds = %bb246, %entry