[PATCH] D81929: [WIP][Attributor] Introduce CallBaseContext to the IRPosition

Kuter Dinel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 20 21:16:38 PDT 2020


kuter added a comment.

Memory usage for this patch:
comand: `$LLVM_BIN/opt -S -attributor-cgscc test-suit/CTMark/SPASS/clause.ll `  
before:

  calls to allocation functions: 78794 (82506/s)
  temporary memory allocations: 3942 (4127/s)
  peak heap memory consumption: 2.58MB
  peak RSS (including heaptrack overhead): 355.73MB
  total memory leaked: 140.33KB

after:

  calls to allocation functions: 78802 (86977/s)
  temporary memory allocations: 3942 (4350/s)
  peak heap memory consumption: 2.59MB
  peak RSS (including heaptrack overhead): 356.60MB
  total memory leaked: 140.33KB

difference:

  calls to allocation functions: 8 (-163/s)
  temporary memory allocations: 0 (0/s)
  peak heap memory consumption: 8.26KB
  peak RSS (including heaptrack overhead): 0B
  total memory leaked: 0B

Interesting, there doesn't seem to be much of a difference.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D81929





More information about the llvm-commits mailing list