[all-commits] [llvm/llvm-project] 084b65: [memprof] Only insert dynamic shadow load when needed

Teresa Johnson via All-commits all-commits at lists.llvm.org
Mon May 2 13:36:20 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 084b65f7dc3986f0ee584c1b449cfe0c5e751fb3
  Author: Teresa Johnson <tejohnson at google.com>
  Date:   2022-05-02 (Mon, 02 May 2022)

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

  Log Message:
  [memprof] Only insert dynamic shadow load when needed

We don't need to insert a load of the dynamic shadow address unless there
are interesting memory accesses to profile.

Split out of D124703.

Differential Revision: https://reviews.llvm.org/D124797

More information about the All-commits mailing list