]> granicus.if.org Git - llvm/commitdiff
[NVVM] Add comments to NVVM intrinsics listing.
authorJustin Lebar <jlebar@google.com>
Tue, 10 May 2016 00:31:20 +0000 (00:31 +0000)
committerJustin Lebar <jlebar@google.com>
Tue, 10 May 2016 00:31:20 +0000 (00:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268993 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/IR/IntrinsicsNVVM.td

index 3ec3681abc31cc35d67e7ec1b4dc21815b6b24be..409221215f38c40d11826a069f3f362ae313f80e 100644 (file)
@@ -795,7 +795,8 @@ def llvm_anyi64ptr_ty     : LLVMAnyPointerType<llvm_i64_ty>;     // (space)i64*
       GCCBuiltin<"__nvvm_read_ptx_sreg_warpsize">;
 
 
-// Generated within nvvm. Use for ldu on sm_20 or later
+// Generated within nvvm. Use for ldu on sm_20 or later.  Second arg is the
+// pointer's alignment.
 def int_nvvm_ldu_global_i : Intrinsic<[llvm_anyint_ty],
   [LLVMAnyPointerType<LLVMMatchType<0>>, llvm_i32_ty],
   [IntrReadMem, NoCapture<0>],
@@ -809,7 +810,8 @@ def int_nvvm_ldu_global_p : Intrinsic<[llvm_anyptr_ty],
   [IntrReadMem, NoCapture<0>],
   "llvm.nvvm.ldu.global.p">;
 
-// Generated within nvvm. Use for ldg on sm_35 or later
+// Generated within nvvm. Use for ldg on sm_35 or later.  Second arg is the
+// pointer's alignment.
 def int_nvvm_ldg_global_i : Intrinsic<[llvm_anyint_ty],
   [LLVMAnyPointerType<LLVMMatchType<0>>, llvm_i32_ty],
   [IntrReadMem, NoCapture<0>],