mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-03 19:02:35 +00:00
[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:
parent
80dea2fad8
commit
10eb05b756
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user