[PATCH] D73527: [Attributor] Collect memory accesses with their respective kind and location

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 27 21:23:42 PST 2020


jdoerfert created this revision.
jdoerfert added reviewers: uenoku, sstefan1, baziotis.
Herald added subscribers: bollu, hiraditya.
Herald added a project: LLVM.
jdoerfert added a parent revision: D73426: [Attributor] Derive memory location attributes (argmemonly, ...).

In addition to a single bit per memory locations, e.g., globals and
arguments, we now collect more information about the actual accesses,
e.g., what instruction caused it, was it a read/write/read+write, and
what the underlying base pointer was. Follow up patches will make
explicit use of this.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D73527

Files:
  llvm/include/llvm/Transforms/IPO/Attributor.h
  llvm/lib/Transforms/IPO/Attributor.cpp
  llvm/test/Transforms/Attributor/ArgumentPromotion/crash.ll
  llvm/test/Transforms/Attributor/liveness.ll
  llvm/test/Transforms/Attributor/nofree.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73527.240769.patch
Type: text/x-patch
Size: 12838 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200128/c78ffd71/attachment-0001.bin>


More information about the llvm-commits mailing list