From: Justin Lebar Date: Tue, 10 May 2016 00:31:20 +0000 (+0000) Subject: [NVVM] Add comments to NVVM intrinsics listing. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=493ba428f105db3c909f4bdfcca76bb75338bb85;p=llvm [NVVM] Add comments to NVVM intrinsics listing. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268993 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/IR/IntrinsicsNVVM.td b/include/llvm/IR/IntrinsicsNVVM.td index 3ec3681abc3..409221215f3 100644 --- a/include/llvm/IR/IntrinsicsNVVM.td +++ b/include/llvm/IR/IntrinsicsNVVM.td @@ -795,7 +795,8 @@ def llvm_anyi64ptr_ty : LLVMAnyPointerType; // (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>, 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>, llvm_i32_ty], [IntrReadMem, NoCapture<0>],