1; RUN: llc -march=r600 -mcpu=cypress -verify-machineinstrs < %s | FileCheck -check-prefix=EG %s
2
3declare float @llvm.r600.recipsqrt.clamped.f32(float) nounwind readnone
4
5; EG-LABEL: {{^}}rsq_clamped_f32:
6; EG: RECIPSQRT_CLAMPED
7define amdgpu_kernel void @rsq_clamped_f32(float addrspace(1)* %out, float %src) nounwind {
8  %rsq_clamped = call float @llvm.r600.recipsqrt.clamped.f32(float %src)
9  store float %rsq_clamped, float addrspace(1)* %out, align 4
10  ret void
11}
12