[NVPTX] Added missing test case for llvm.nvvm.sqrt.f NVPTX intrinsic

Differential Revision: http://reviews.llvm.org/D10663

llvm-svn: 240437
This commit is contained in:
Artem Belevich 2015-06-23 18:22:17 +00:00
parent 6f8a6be145
commit 6c9627252d
1 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,8 @@ define ptx_device double @test_fabs(double %d) {
}
define float @test_nvvm_sqrt(float %a) {
; CHECK: sqrt.rn.f32 %f{{[0-9]+}}, %f{{[0-9]+}};
; CHECK: ret;
%val = call float @llvm.nvvm.sqrt.f(float %a)
ret float %val
}