summaryrefslogtreecommitdiff
path: root/test/CodeGen/NVPTX/fast-math.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/NVPTX/fast-math.ll')
-rw-r--r--test/CodeGen/NVPTX/fast-math.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/NVPTX/fast-math.ll b/test/CodeGen/NVPTX/fast-math.ll
index 528d2c02df5..f925d67434c 100644
--- a/test/CodeGen/NVPTX/fast-math.ll
+++ b/test/CodeGen/NVPTX/fast-math.ll
@@ -40,11 +40,11 @@ define float @sqrt_div_fast_ftz(float %a, float %b) #0 #1 {
}
; There are no fast-math or ftz versions of sqrt and div for f64. We use
-; x * rsqrt(x) for sqrt(x), and emit a vanilla divide.
+; reciprocal(rsqrt(x)) for sqrt(x), and emit a vanilla divide.
; CHECK-LABEL: sqrt_div_fast_ftz_f64(
; CHECK: rsqrt.approx.f64
-; CHECK: mul.f64
+; CHECK: rcp.approx.ftz.f64
; CHECK: div.rn.f64
define double @sqrt_div_fast_ftz_f64(double %a, double %b) #0 #1 {
%t1 = tail call double @llvm.sqrt.f64(double %a)