1 ; RUN: llc -march=r600 -mcpu=SI -verify-machineinstrs < %s | FileCheck -check-prefix=SI -check-prefix=FUNC %s 2 3 declare double @llvm.AMDGPU.rsq.clamped.f64(double) nounwind readnone 4 5 ; FUNC-LABEL: @rsq_clamped_f64 6 ; SI: V_RSQ_CLAMP_F64_e32 7 define void @rsq_clamped_f64(double addrspace(1)* %out, double %src) nounwind { 8 %rsq_clamped = call double @llvm.AMDGPU.rsq.clamped.f64(double %src) nounwind readnone 9 store double %rsq_clamped, double addrspace(1)* %out, align 8 10 ret void 11 } 12