[all-commits] [llvm/llvm-project] 7ca803: [CSSPGO] Enable loading MD5 CS profile.

Hongtao Yu via All-commits all-commits at lists.llvm.org
Wed Sep 1 09:20:06 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7ca80300309a95a152a343c6f5b68c0d83e9fb28
      https://github.com/llvm/llvm-project/commit/7ca80300309a95a152a343c6f5b68c0d83e9fb28
  Author: Hongtao Yu <hoy at fb.com>
  Date:   2021-09-01 (Wed, 01 Sep 2021)

  Changed paths:
    M llvm/include/llvm/Transforms/IPO/ProfiledCallGraph.h
    M llvm/include/llvm/Transforms/IPO/SampleContextTracker.h
    M llvm/lib/ProfileData/SampleProfReader.cpp
    M llvm/lib/Transforms/IPO/SampleContextTracker.cpp
    M llvm/lib/Transforms/IPO/SampleProfile.cpp
    M llvm/test/Transforms/SampleProfile/csspgo-import-list.ll
    M llvm/test/Transforms/SampleProfile/csspgo-inline-icall.ll
    M llvm/test/Transforms/SampleProfile/csspgo-inline.ll
    M llvm/test/tools/llvm-profgen/noinline-cs-noprobe.test
    M llvm/tools/llvm-profgen/CSPreInliner.cpp
    M llvm/tools/llvm-profgen/ProfileGenerator.cpp

  Log Message:
  -----------
  [CSSPGO] Enable loading MD5 CS profile.

Adding the compiler support of MD5 CS profile based on pervious context split work D107299. A MD5 CS profile is about 40% smaller than the string-based extbinary profile. As a result, the compilation is 15% faster.

There are a few conversion from real names to md5 names that have been made on the sample loader and context tracker side to get it work.

Reviewed By: wenlei, wmi

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




More information about the All-commits mailing list