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

Artem Belevich tra at google.com
Tue Jun 23 10:42:40 PDT 2015


Hi jholewinski,

http://reviews.llvm.org/D10663

Files:
  test/CodeGen/NVPTX/intrinsics.ll

Index: test/CodeGen/NVPTX/intrinsics.ll
===================================================================
--- test/CodeGen/NVPTX/intrinsics.ll
+++ test/CodeGen/NVPTX/intrinsics.ll
@@ -16,6 +16,8 @@
 }
 
 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
 }

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10663.28262.patch
Type: text/x-patch
Size: 382 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150623/c10fbe48/attachment.bin>


More information about the llvm-commits mailing list