[PATCH] D107355: [ptr_provenance] Introduce llvm.experimental.ptr.provenance

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 24 08:47:47 PDT 2023


nikic added inline comments.


================
Comment at: llvm/include/llvm/IR/Intrinsics.td:590
+                [LLVMMatchType<0>, llvm_anyptr_ty],
+                [IntrNoMem, IntrSpeculatable]>; // NOTE: Returned<0> must not be used here
+
----------------
nikic wrote:
> This can also be `NoCapture<ArgIndex<1>>` I believe. (The first argument is capturing, because the pointer is returned.)
Ignore this comment -- we currently don't distinguish between address and provenance capture, so annotating it would likely not be correct.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D107355/new/

https://reviews.llvm.org/D107355



More information about the llvm-commits mailing list