Home | History | Annotate | Download | only in InstCombine

Lines Matching full:double

4   %ext1 = fpext float %x to double
5 %ext2 = fpext float %y to double
6 %cmp = fcmp ogt double %ext1, %ext2
13 %ext = fpext float %a to double
14 %cmp = fcmp ogt double %ext, 1.000000e+00
21 %ext = fpext float %a to double
22 %cmp = fcmp ogt double %ext, 0x3FF0000000000001 ; more precision than float.
25 ; CHECK-NEXT: fpext float %a to double
29 %ext = fpext float %a to double
30 %cmp = fcmp ogt double %ext, 0x36A0000000000000 ; denormal in float.
33 ; CHECK-NEXT: fpext float %a to double
63 %conv = fpext float %x to double
64 %cmp = fcmp olt double %conv, 0.000000e+00
68 ; Float comparison to zero shouldn't cast to double.
73 declare double @fabs(double) nounwind readnone
75 define i32 @test9(double %a) nounwind {
76 %call = tail call double @fabs(double %a) nounwind
77 %cmp = fcmp olt double %call, 0.000000e+00
85 define i32 @test10(double %a) nounwind {
86 %call = tail call double @fabs(double %a) nounwind
87 %cmp = fcmp ole double %call, 0.000000e+00
92 ; CHECK: fcmp oeq double %a, 0.000000e+00
95 define i32 @test11(double %a) nounwind {
96 %call = tail call double @fabs(double %a) nounwind
97 %cmp = fcmp ogt double %call, 0.000000e+00
102 ; CHECK: fcmp one double %a, 0.000000e+00
105 define i32 @test12(double %a) nounwind {
106 %call = tail call double @fabs(double %a) nounwind
107 %cmp = fcmp oge double %call, 0.000000e+00
112 ; CHECK: fcmp ord double %a, 0.000000e+00
115 define i32 @test13(double %a) nounwind {
116 %call = tail call double @fabs(double %a) nounwind
117 %cmp = fcmp une double %call, 0.000000e+00
122 ; CHECK: fcmp une double %a, 0.000000e+00
125 define i32 @test14(double %a) nounwind {
126 %call = tail call double @fabs(double %a) nounwind
127 %cmp = fcmp oeq double %call, 0.000000e+00
132 ; CHECK: fcmp oeq double %a, 0.000000e+00
135 define i32 @test15(double %a) nounwind {
136 %call = tail call double @fabs(double %a) nounwind
137 %cmp = fcmp one double %call, 0.000000e+00
142 ; CHECK: fcmp one double %a, 0.000000e+00
145 define i32 @test16(double %a) nounwind {
146 %call = tail call double @fabs(double %a) nounwind
147 %cmp = fcmp ueq double %call, 0.000000e+00
152 ; CHECK: fcmp ueq double %a, 0.000000e+00
156 define i32 @test17(double %a, double (double)* %p) nounwind {
157 %call = tail call double %p(double %a) nounwind
158 %cmp = fcmp ueq double %call, 0.000000e+00