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

Artem Belevich tra at google.com
Tue Jun 23 11:26:38 PDT 2015


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D10663

Files:
  llvm/trunk/test/CodeGen/NVPTX/intrinsics.ll

Index: llvm/trunk/test/CodeGen/NVPTX/intrinsics.ll
===================================================================
--- llvm/trunk/test/CodeGen/NVPTX/intrinsics.ll
+++ llvm/trunk/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.28273.patch
Type: text/x-patch
Size: 415 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150623/4a748976/attachment.bin>


More information about the llvm-commits mailing list