Lines Matching refs:sqrt
128 ; With unsafe/fast math, sqrt(X) * sqrt(X) is just X.
129 declare double @llvm.sqrt.f64(double)
132 %sqrt = call double @llvm.sqrt.f64(double %f)
133 %mul = fmul fast double %sqrt, %sqrt
139 ; With unsafe/fast math, sqrt(X) * sqrt(X) is just X,
140 ; but make sure another use of the sqrt is intact.
146 %sqrt = call double @llvm.sqrt.f64(double %f)
147 %mul1 = fmul fast double %sqrt, %sqrt
148 %mul2 = fmul double %mul1, %sqrt
151 ; CHECK-NEXT: %sqrt = call double @llvm.sqrt.f64(double %f)
152 ; CHECK-NEXT: %mul2 = fmul double %sqrt, %f