1 ; RUN: opt < %s -simplifycfg -disable-output
3 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"
4 target triple = "x86_64-apple-darwin9"
5 %struct.Py_complex = type { double, double }
7 define %struct.Py_complex @_Py_c_pow(double %a.0, double %a.1, double %b.0, double %b.1) nounwind {
9 %tmp7 = fcmp une double %b.0, 0.000000e+00 ; <i1> [#uses=1]
10 %tmp11 = fcmp une double %b.1, 0.000000e+00 ; <i1> [#uses=1]
11 %bothcond = or i1 %tmp7, %tmp11 ; <i1> [#uses=1]
12 br i1 %bothcond, label %bb15, label %bb53
14 bb15: ; preds = %entry
15 %tmp18 = fcmp une double %a.0, 0.000000e+00 ; <i1> [#uses=1]
16 %tmp24 = fcmp une double %a.1, 0.000000e+00 ; <i1> [#uses=1]
17 %bothcond1 = or i1 %tmp18, %tmp24 ; <i1> [#uses=1]
18 br i1 %bothcond1, label %bb29, label %bb27
21 %tmp28 = call i32* @__error( ) nounwind ; <i32*> [#uses=1]
22 store i32 33, i32* %tmp28, align 4
23 ret double undef, double undef
26 %tmp36 = fcmp une double %b.1, 0.000000e+00 ; <i1> [#uses=1]
27 br i1 %tmp36, label %bb39, label %bb47
32 bb47: ; preds = %bb39, %bb29
33 ret double undef, double undef
35 bb53: ; preds = %entry
36 ret double undef, double undef
39 declare i32* @__error()
41 declare double @pow(double, double) nounwind readonly
43 declare double @cos(double) nounwind readonly