[all-commits] [llvm/llvm-project] 5e0443: [PGO] Report number of counts being dropped when a...

xur-llvm via All-commits all-commits at lists.llvm.org
Fri Jul 15 14:59:45 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5e0443292bf0ee72bd17b41a8d5f85d1afecef36
      https://github.com/llvm/llvm-project/commit/5e0443292bf0ee72bd17b41a8d5f85d1afecef36
  Author: Rong Xu <xur at google.com>
  Date:   2022-07-15 (Fri, 15 Jul 2022)

  Changed paths:
    M llvm/include/llvm/ProfileData/InstrProfReader.h
    M llvm/lib/ProfileData/InstrProfReader.cpp
    M llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
    M llvm/test/Transforms/PGOProfile/Inputs/diag.proftext
    M llvm/test/Transforms/PGOProfile/diag_mismatch.ll

  Log Message:
  -----------
  [PGO] Report number of counts being dropped when a hash-mismatch happens

This patch reports number of counts being dropped when a hash-mismatch
happens. This information will be helpful to the users -- if the dropped
counts are large, the user should redo the instrumentation build and
recollect the profile.

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




More information about the All-commits mailing list