R600/SI: Allow using f32 rcp / rsq when denormals not handled.
[oota-llvm.git] / test / CodeGen / R600 / llvm.AMDGPU.rcp.f64.ll
index 62a30a79a2d0ae549e6443cf6afd21926571f39d..b5dda0ce81f901a99d0e271de1fdb0df4fa81b61 100644 (file)
@@ -20,7 +20,8 @@ define void @rcp_pat_f64(double addrspace(1)* %out, double %src) nounwind {
 }
 
 ; FUNC-LABEL: @rsq_rcp_pat_f64
-; SI: V_RSQ_F64_e32
+; SI-UNSAFE: V_RSQ_F64_e32
+; SI-SAFE-NOT: V_RSQ_F64_e32
 define void @rsq_rcp_pat_f64(double addrspace(1)* %out, double %src) nounwind {
   %sqrt = call double @llvm.sqrt.f64(double %src) nounwind readnone
   %rcp = call double @llvm.AMDGPU.rcp.f64(double %sqrt) nounwind readnone