[all-commits] [llvm/llvm-project] 81c249: [llvm-profgen] Use hot threshold for context mergi...

WenleiHe via All-commits all-commits at lists.llvm.org
Wed Sep 22 15:02:27 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 81c249784f424f8b7bd04dcbeaf0594d9b529696
      https://github.com/llvm/llvm-project/commit/81c249784f424f8b7bd04dcbeaf0594d9b529696
  Author: Wenlei He <aktoon at gmail.com>
  Date:   2021-09-22 (Wed, 22 Sep 2021)

  Changed paths:
    M llvm/test/tools/llvm-profgen/merge-cold-profile.test
    M llvm/tools/llvm-profgen/ProfileGenerator.cpp

  Log Message:
  -----------
  [llvm-profgen] Use hot threshold for context merging and trimming

Without preinliner, we need to tune down the cold count cutoff to merge/trim more context to limit profile size for large components. However it doesn't make sense for cold threshold to be higher than hot threshold, so we now change to use hot threshold as merging/trimming cut off instead.

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




More information about the All-commits mailing list