[llvm] r268993 - [NVVM] Add comments to NVVM intrinsics listing.

Justin Lebar via llvm-commits llvm-commits at lists.llvm.org
Mon May 9 17:31:20 PDT 2016


Author: jlebar
Date: Mon May  9 19:31:20 2016
New Revision: 268993

URL: http://llvm.org/viewvc/llvm-project?rev=268993&view=rev
Log:
[NVVM] Add comments to NVVM intrinsics listing.

Modified:
    llvm/trunk/include/llvm/IR/IntrinsicsNVVM.td

Modified: llvm/trunk/include/llvm/IR/IntrinsicsNVVM.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/IntrinsicsNVVM.td?rev=268993&r1=268992&r2=268993&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/IntrinsicsNVVM.td (original)
+++ llvm/trunk/include/llvm/IR/IntrinsicsNVVM.td Mon May  9 19:31:20 2016
@@ -795,7 +795,8 @@ def llvm_anyi64ptr_ty     : LLVMAnyPoint
       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<[l
   [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>],




More information about the llvm-commits mailing list