[PATCH] D149684: [MemProf] Use profiled lifetime access density directly

Teresa Johnson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 2 13:07:22 PDT 2023


tejohnson created this revision.
tejohnson added reviewers: snehasish, davidxl.
Herald added subscribers: Enna1, wenlei, hiraditya.
Herald added a project: All.
tejohnson requested review of this revision.
Herald added a project: LLVM.

Now that the runtime tracks the lifetime access density directly, we can
use that directly in the threshold checks instead of less accurately
computing from other statistics.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D149684

Files:
  llvm/include/llvm/Analysis/MemoryProfileInfo.h
  llvm/lib/Analysis/MemoryProfileInfo.cpp
  llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
  llvm/unittests/Analysis/MemoryProfileInfoTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149684.518839.patch
Type: text/x-patch
Size: 8047 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230502/0bcbd6b4/attachment.bin>


More information about the llvm-commits mailing list