mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-09 16:45:03 +00:00
[NVPTX] Added missing test case for llvm.nvvm.sqrt.f NVPTX intrinsic
Differential Revision: http://reviews.llvm.org/D10663 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240437 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1c5cf241af
commit
572587cad1
@ -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