[all-commits] [llvm/llvm-project] ce6bfe: [CSSPGO][llvm-profgen] Use profile summary based t...

WenleiHe via All-commits all-commits at lists.llvm.org
Mon Mar 22 09:07:56 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ce6bfe94115a3fa16f5f7f7898a62c07f26333fc
      https://github.com/llvm/llvm-project/commit/ce6bfe94115a3fa16f5f7f7898a62c07f26333fc
  Author: Wenlei He <aktoon at gmail.com>
  Date:   2021-03-22 (Mon, 22 Mar 2021)

  Changed paths:
    M llvm/include/llvm/Analysis/ProfileSummaryInfo.h
    M llvm/lib/Analysis/ProfileSummaryInfo.cpp
    M llvm/test/tools/llvm-profgen/merge-cold-profile.test
    M llvm/tools/llvm-profgen/ProfileGenerator.cpp
    M llvm/tools/llvm-profgen/ProfileGenerator.h

  Log Message:
  -----------
  [CSSPGO][llvm-profgen] Use profile summary based threshold for context trimming and merging

Switch to use cold threshold from profile summary for cold context merging and trimming, instead of relying on hard coded values. Minor refactoring included for switch names, etc.

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




More information about the All-commits mailing list