1 ; RUN: llc < %s -march=mipsel | FileCheck %s
3 define void @func0(float %f2, float %f3) nounwind {
7 %cmp = fcmp oeq float %f2, %f3
8 br i1 %cmp, label %if.then, label %if.else
10 if.then: ; preds = %entry
11 tail call void (...)* @g0() nounwind
14 if.else: ; preds = %entry
15 tail call void (...)* @g1() nounwind
18 if.end: ; preds = %if.else, %if.then
26 define void @func1(float %f2, float %f3) nounwind {
30 %cmp = fcmp olt float %f2, %f3
31 br i1 %cmp, label %if.then, label %if.else
33 if.then: ; preds = %entry
34 tail call void (...)* @g0() nounwind
37 if.else: ; preds = %entry
38 tail call void (...)* @g1() nounwind
41 if.end: ; preds = %if.else, %if.then
45 define void @func2(float %f2, float %f3) nounwind {
49 %cmp = fcmp ugt float %f2, %f3
50 br i1 %cmp, label %if.else, label %if.then
52 if.then: ; preds = %entry
53 tail call void (...)* @g0() nounwind
56 if.else: ; preds = %entry
57 tail call void (...)* @g1() nounwind
60 if.end: ; preds = %if.else, %if.then
64 define void @func3(double %f2, double %f3) nounwind {
68 %cmp = fcmp oeq double %f2, %f3
69 br i1 %cmp, label %if.then, label %if.else
71 if.then: ; preds = %entry
72 tail call void (...)* @g0() nounwind
75 if.else: ; preds = %entry
76 tail call void (...)* @g1() nounwind
79 if.end: ; preds = %if.else, %if.then
83 define void @func4(double %f2, double %f3) nounwind {
87 %cmp = fcmp olt double %f2, %f3
88 br i1 %cmp, label %if.then, label %if.else
90 if.then: ; preds = %entry
91 tail call void (...)* @g0() nounwind
94 if.else: ; preds = %entry
95 tail call void (...)* @g1() nounwind
98 if.end: ; preds = %if.else, %if.then
102 define void @func5(double %f2, double %f3) nounwind {
106 %cmp = fcmp ugt double %f2, %f3
107 br i1 %cmp, label %if.else, label %if.then
109 if.then: ; preds = %entry
110 tail call void (...)* @g0() nounwind
113 if.else: ; preds = %entry
114 tail call void (...)* @g1() nounwind
117 if.end: ; preds = %if.else, %if.then