[all-commits] [llvm/llvm-project] 17993e: [Memprof] Adds instrumentation support for memprof...

Matthew Weingarten via All-commits all-commits at lists.llvm.org
Mon Jul 29 16:09:58 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 17993eb162c513fd03753237c5c8229fd629148b
      https://github.com/llvm/llvm-project/commit/17993eb162c513fd03753237c5c8229fd629148b
  Author: Matthew Weingarten <matt at weingarten.org>
  Date:   2024-07-29 (Mon, 29 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/MemProfiler.cpp
    A llvm/test/Instrumentation/HeapProfiler/basic-histogram.ll

  Log Message:
  -----------
  [Memprof] Adds instrumentation support for memprof with histograms. (#100834)

This patch allows running `-fmemory-profile` without the flag
`-memprof-use-callbacks`, meaning the `RecordAccessesHistogram` is
injected into IR as a sequence of instructions. This significantly
increases performance of the instrumented binary.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list