[all-commits] [llvm/llvm-project] a0b5af: [memprof] Don't instrument PGO and other compiler ...

Teresa Johnson via All-commits all-commits at lists.llvm.org
Mon May 2 12:18:12 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a0b5af46a2a0e9cfc6b2e0e85c11dca5f18ddfbc
      https://github.com/llvm/llvm-project/commit/a0b5af46a2a0e9cfc6b2e0e85c11dca5f18ddfbc
  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/skip-compiler-inserted.ll

  Log Message:
  -----------
  [memprof] Don't instrument PGO and other compiler inserted variables

Suppress instrumentation of PGO counter accesses, which is unnecessary
and costly. Also suppress accesses to other compiler inserted variables
starting with "__llvm". This is a slightly expanded variant of what is
done for tsan in shouldInstrumentReadWriteFromAddress.

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




More information about the All-commits mailing list