[all-commits] [llvm/llvm-project] 937924: [llvm-profgen] Read sample profiles for post-proce...

Hongtao Yu via All-commits all-commits at lists.llvm.org
Wed Mar 30 13:51:31 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 937924eb4956ac4a85424cb495f91f34d42eb02a
      https://github.com/llvm/llvm-project/commit/937924eb4956ac4a85424cb495f91f34d42eb02a
  Author: Hongtao Yu <hoy at fb.com>
  Date:   2022-03-30 (Wed, 30 Mar 2022)

  Changed paths:
    A llvm/test/tools/llvm-profgen/cold-profile-trimming-symbolized.test
    A llvm/test/tools/llvm-profgen/cs-preinline-sample-profile.test
    M llvm/tools/llvm-profgen/ProfileGenerator.cpp
    M llvm/tools/llvm-profgen/ProfileGenerator.h
    M llvm/tools/llvm-profgen/llvm-profgen.cpp

  Log Message:
  -----------
  [llvm-profgen] Read sample profiles for post-processing.

Sometimes we would like to run post-processing repeatedly on the original sample profile for tuning. In order to avoid regenerating the original profile from scratch every time, this change adds the support of reading in the original profile (called symbolized profile) and running the post-processor on it.

Reviewed By: wenlei

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




More information about the All-commits mailing list