[all-commits] [llvm/llvm-project] 54e03d: [PGO] Verify BFI counts after loading profile data

xur-llvm via All-commits all-commits at lists.llvm.org
Mon Dec 14 16:17:02 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 54e03d03a7a4d47f09d40bcbcfe484066a52a077
      https://github.com/llvm/llvm-project/commit/54e03d03a7a4d47f09d40bcbcfe484066a52a077
  Author: Rong Xu <xur at google.com>
  Date:   2020-12-14 (Mon, 14 Dec 2020)

  Changed paths:
    M clang/lib/CodeGen/CGCall.cpp
    M clang/lib/CodeGen/CodeGenModule.cpp
    M llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
    A llvm/test/Transforms/PGOProfile/Inputs/bfi_verification.proftext
    A llvm/test/Transforms/PGOProfile/bfi_verification.ll

  Log Message:
  -----------
  [PGO] Verify BFI counts after loading profile data

This patch adds the functionality to compare BFI counts with real
profile
counts right after reading the profile. It will print remarks under
-Rpass-analysis=pgo, or the internal option -pass-remarks-analysis=pgo.

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




More information about the All-commits mailing list