; ModuleID = 'my_module' declare double @foo() declare double @bar() declare double @bug() define double @baz(double %x) { entry: %ifcond = fcmp one double %x, 0.000000e+00 br i1 %ifcond, label %then, label %else4 then: ; preds = %entry %subtmp = fsub double %x, 1.000000e+00 %ifcond1 = fcmp one double %subtmp, 0.000000e+00 br i1 %ifcond1, label %then2, label %else then2: ; preds = %then %calltmp = call double @foo() br label %ifcont else: ; preds = %then %calltmp3 = call double @bug() br label %ifcont ifcont: ; preds = %else, %then2 %iftmp = phi double [ %calltmp, %then2 ], [ %calltmp3, %else ] br label %ifcont6 else4: ; preds = %entry %calltmp5 = call double @bar() br label %ifcont6 ifcont6: ; preds = %else4, %ifcont %iftmp7 = phi double [ %iftmp, %ifcont ], [ %calltmp5, %else4 ] ret double %iftmp7 }