From: Artem Belevich Date: Tue, 23 Jun 2015 18:22:17 +0000 (+0000) Subject: [NVPTX] Added missing test case for llvm.nvvm.sqrt.f NVPTX intrinsic X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6c9627252d978c1b154237831fe167043aa2c855;p=platform%2Fupstream%2Fllvm.git [NVPTX] Added missing test case for llvm.nvvm.sqrt.f NVPTX intrinsic Differential Revision: http://reviews.llvm.org/D10663 llvm-svn: 240437 --- diff --git a/llvm/test/CodeGen/NVPTX/intrinsics.ll b/llvm/test/CodeGen/NVPTX/intrinsics.ll index 34b671d..06a8712 100644 --- a/llvm/test/CodeGen/NVPTX/intrinsics.ll +++ b/llvm/test/CodeGen/NVPTX/intrinsics.ll @@ -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 }