[PATCH] D135172: [NVVM] Mark the pointer argument of `llvm.nvvm.isspace.*` `nocapture`
Johannes Doerfert via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 4 19:22:45 PDT 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rG792e60c74490: [NVVM] Mark the pointer argument of `llvm.nvvm.isspace.*` `nocapture` (authored by jdoerfert).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D135172/new/
https://reviews.llvm.org/D135172
Files:
llvm/include/llvm/IR/IntrinsicsNVVM.td
Index: llvm/include/llvm/IR/IntrinsicsNVVM.td
===================================================================
--- llvm/include/llvm/IR/IntrinsicsNVVM.td
+++ llvm/include/llvm/IR/IntrinsicsNVVM.td
@@ -1582,19 +1582,23 @@
// isspacep.{const, global, local, shared}
def int_nvvm_isspacep_const
- : DefaultAttrsIntrinsic<[llvm_i1_ty], [llvm_ptr_ty], [IntrNoMem, IntrSpeculatable],
+ : DefaultAttrsIntrinsic<[llvm_i1_ty], [llvm_ptr_ty],
+ [IntrNoMem, IntrSpeculatable, NoCapture<ArgIndex<0>>],
"llvm.nvvm.isspacep.const">,
ClangBuiltin<"__nvvm_isspacep_const">;
def int_nvvm_isspacep_global
- : DefaultAttrsIntrinsic<[llvm_i1_ty], [llvm_ptr_ty], [IntrNoMem, IntrSpeculatable],
+ : DefaultAttrsIntrinsic<[llvm_i1_ty], [llvm_ptr_ty],
+ [IntrNoMem, IntrSpeculatable, NoCapture<ArgIndex<0>>],
"llvm.nvvm.isspacep.global">,
ClangBuiltin<"__nvvm_isspacep_global">;
def int_nvvm_isspacep_local
- : DefaultAttrsIntrinsic<[llvm_i1_ty], [llvm_ptr_ty], [IntrNoMem, IntrSpeculatable],
+ : DefaultAttrsIntrinsic<[llvm_i1_ty], [llvm_ptr_ty],
+ [IntrNoMem, IntrSpeculatable, NoCapture<ArgIndex<0>>],
"llvm.nvvm.isspacep.local">,
ClangBuiltin<"__nvvm_isspacep_local">;
def int_nvvm_isspacep_shared
- : DefaultAttrsIntrinsic<[llvm_i1_ty], [llvm_ptr_ty], [IntrNoMem, IntrSpeculatable],
+ : DefaultAttrsIntrinsic<[llvm_i1_ty], [llvm_ptr_ty],
+ [IntrNoMem, IntrSpeculatable, NoCapture<ArgIndex<0>>],
"llvm.nvvm.isspacep.shared">,
ClangBuiltin<"__nvvm_isspacep_shared">;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135172.465257.patch
Type: text/x-patch
Size: 1602 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221005/e8d37b63/attachment.bin>
More information about the llvm-commits
mailing list