[PATCH] D78861: [Attributor] [WIP] Track AA dependency using dependency graph

Luofan Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 2 21:01:58 PDT 2020


bbn updated this revision to Diff 275284.
bbn added a comment.

- Use references instead of pointer for the synthetic node

------

__heaptrack result:__

- before:

  total runtime: 5.12s.
  bytes allocated in total (ignoring deallocations): 24.03MB (4.69MB/s)
  calls to allocation functions: 78903 (15404/s)
  temporary memory allocations: 4003 (781/s)
  peak heap memory consumption: 6.27MB
  peak RSS (including heaptrack overhead): 628.13MB
  total memory leaked: 140.33KB



- after:

  total runtime: 5.53s.
  bytes allocated in total (ignoring deallocations): 24.05MB (4.35MB/s)
  calls to allocation functions: 80209 (14514/s)
  temporary memory allocations: 4576 (828/s)
  peak heap memory consumption: 6.17MB
  peak RSS (including heaptrack overhead): 629.22MB
  total memory leaked: 140.33KB


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

https://reviews.llvm.org/D78861

Files:
  llvm/include/llvm/Transforms/IPO/Attributor.h
  llvm/lib/Transforms/IPO/Attributor.cpp
  llvm/lib/Transforms/IPO/AttributorAttributes.cpp
  llvm/test/Transforms/Attributor/depgraph.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78861.275284.patch
Type: text/x-patch
Size: 34202 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200703/4176e478/attachment-0001.bin>


More information about the llvm-commits mailing list