[PATCH] D107352: [MemoryLocation] learn about ptr_provenance

Jeroen Dobbelaere via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 3 07:45:08 PDT 2021


jeroen.dobbelaere created this revision.
jeroen.dobbelaere added reviewers: jdoerfert, nikic.
Herald added a subscriber: hiraditya.
jeroen.dobbelaere requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Introduce a `ptr_provenance` member to MemoryLocation.

Note: in the full restrict patches, the `ptr_provenance` was tracked through the `AAMDNodes`. For this extraction of the feature, I feel that the MemoryLocation is a more logical place for it. (aka, the provenance is associated to a location, not to the Alias Analysis Metadata).


https://reviews.llvm.org/D107352

Files:
  llvm/include/llvm/Analysis/MemoryLocation.h
  llvm/lib/Analysis/MemoryLocation.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107352.363738.patch
Type: text/x-patch
Size: 4259 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210803/f94d93d3/attachment.bin>


More information about the llvm-commits mailing list