blob: 7c10f970e084c4dd91b88a5263e5aae6cec4d4cc [file] [log] [blame]
Owen Anderson3a9c0cc2007-07-25 23:54:42 +00001; RUN: llvm-as < %s | opt -gvn | llvm-dis
2
3 %struct.PerlInterpreter = type { i8 }
4@PL_sv_count = external global i32 ; <i32*> [#uses=2]
5
6define void @perl_destruct(%struct.PerlInterpreter* %sv_interp) {
7entry:
8 br i1 false, label %cond_next25, label %cond_true16
9
10cond_true16: ; preds = %entry
11 ret void
12
13cond_next25: ; preds = %entry
14 br i1 false, label %cond_next33, label %cond_true32
15
16cond_true32: ; preds = %cond_next25
17 ret void
18
19cond_next33: ; preds = %cond_next25
20 br i1 false, label %cond_next61, label %cond_true.i46
21
22cond_true.i46: ; preds = %cond_next33
23 ret void
24
25cond_next61: ; preds = %cond_next33
26 br i1 false, label %cond_next69, label %cond_true66
27
28cond_true66: ; preds = %cond_next61
29 ret void
30
31cond_next69: ; preds = %cond_next61
32 br i1 false, label %Perl_safefree.exit52, label %cond_true.i50
33
34cond_true.i50: ; preds = %cond_next69
35 ret void
36
37Perl_safefree.exit52: ; preds = %cond_next69
38 br i1 false, label %cond_next80, label %cond_true77
39
40cond_true77: ; preds = %Perl_safefree.exit52
41 ret void
42
43cond_next80: ; preds = %Perl_safefree.exit52
44 br i1 false, label %Perl_safefree.exit56, label %cond_true.i54
45
46cond_true.i54: ; preds = %cond_next80
47 ret void
48
49Perl_safefree.exit56: ; preds = %cond_next80
50 br i1 false, label %Perl_safefree.exit60, label %cond_true.i58
51
52cond_true.i58: ; preds = %Perl_safefree.exit56
53 ret void
54
55Perl_safefree.exit60: ; preds = %Perl_safefree.exit56
56 br i1 false, label %Perl_safefree.exit64, label %cond_true.i62
57
58cond_true.i62: ; preds = %Perl_safefree.exit60
59 ret void
60
61Perl_safefree.exit64: ; preds = %Perl_safefree.exit60
62 br i1 false, label %Perl_safefree.exit68, label %cond_true.i66
63
64cond_true.i66: ; preds = %Perl_safefree.exit64
65 ret void
66
67Perl_safefree.exit68: ; preds = %Perl_safefree.exit64
68 br i1 false, label %cond_next150, label %cond_true23.i
69
70cond_true23.i: ; preds = %Perl_safefree.exit68
71 ret void
72
73cond_next150: ; preds = %Perl_safefree.exit68
74 %tmp16092 = load i32* @PL_sv_count, align 4 ; <i32> [#uses=0]
75 br label %cond_next165
76
77bb157: ; preds = %cond_next165
78 %tmp158 = load i32* @PL_sv_count, align 4 ; <i32> [#uses=0]
79 br label %cond_next165
80
81cond_next165: ; preds = %bb157, %cond_next150
82 br i1 false, label %bb171, label %bb157
83
84bb171: ; preds = %cond_next165
85 ret void
86}