1 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 4
2 ; RUN: opt < %s -passes=newgvn | llvm-dis
4 %struct.PerlInterpreter = type { i8 }
5 @PL_sv_count = external global i32 ; <ptr> [#uses=2]
7 define void @perl_destruct(ptr %sv_interp) {
9 br i1 false, label %cond_next25, label %cond_true16
11 cond_true16: ; preds = %entry
14 cond_next25: ; preds = %entry
15 br i1 false, label %cond_next33, label %cond_true32
17 cond_true32: ; preds = %cond_next25
20 cond_next33: ; preds = %cond_next25
21 br i1 false, label %cond_next61, label %cond_true.i46
23 cond_true.i46: ; preds = %cond_next33
26 cond_next61: ; preds = %cond_next33
27 br i1 false, label %cond_next69, label %cond_true66
29 cond_true66: ; preds = %cond_next61
32 cond_next69: ; preds = %cond_next61
33 br i1 false, label %Perl_safefree.exit52, label %cond_true.i50
35 cond_true.i50: ; preds = %cond_next69
38 Perl_safefree.exit52: ; preds = %cond_next69
39 br i1 false, label %cond_next80, label %cond_true77
41 cond_true77: ; preds = %Perl_safefree.exit52
44 cond_next80: ; preds = %Perl_safefree.exit52
45 br i1 false, label %Perl_safefree.exit56, label %cond_true.i54
47 cond_true.i54: ; preds = %cond_next80
50 Perl_safefree.exit56: ; preds = %cond_next80
51 br i1 false, label %Perl_safefree.exit60, label %cond_true.i58
53 cond_true.i58: ; preds = %Perl_safefree.exit56
56 Perl_safefree.exit60: ; preds = %Perl_safefree.exit56
57 br i1 false, label %Perl_safefree.exit64, label %cond_true.i62
59 cond_true.i62: ; preds = %Perl_safefree.exit60
62 Perl_safefree.exit64: ; preds = %Perl_safefree.exit60
63 br i1 false, label %Perl_safefree.exit68, label %cond_true.i66
65 cond_true.i66: ; preds = %Perl_safefree.exit64
68 Perl_safefree.exit68: ; preds = %Perl_safefree.exit64
69 br i1 false, label %cond_next150, label %cond_true23.i
71 cond_true23.i: ; preds = %Perl_safefree.exit68
74 cond_next150: ; preds = %Perl_safefree.exit68
75 %tmp16092 = load i32, ptr @PL_sv_count, align 4 ; <i32> [#uses=0]
76 br label %cond_next165
78 bb157: ; preds = %cond_next165
79 %tmp158 = load i32, ptr @PL_sv_count, align 4 ; <i32> [#uses=0]
80 br label %cond_next165
82 cond_next165: ; preds = %bb157, %cond_next150
83 br i1 false, label %bb171, label %bb157
85 bb171: ; preds = %cond_next165