[all-commits] [llvm/llvm-project] 51ce56: [SampleProfile] Add all callsites to AllCandidates...

modiking via All-commits all-commits at lists.llvm.org
Fri Oct 29 12:05:39 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 51ce567b38ec92163ec05c9bef0bd0e2bd53c667
      https://github.com/llvm/llvm-project/commit/51ce567b38ec92163ec05c9bef0bd0e2bd53c667
  Author: modimo <modimo at fb.com>
  Date:   2021-10-29 (Fri, 29 Oct 2021)

  Changed paths:
    M llvm/lib/Transforms/IPO/SampleProfile.cpp
    A llvm/test/Transforms/SampleProfile/Inputs/csspgo-import-list-no-funca.prof
    A llvm/test/Transforms/SampleProfile/Inputs/csspgo-import-list-replay.txt
    M llvm/test/Transforms/SampleProfile/Inputs/csspgo-import-list.prof
    A llvm/test/Transforms/SampleProfile/Inputs/function_metadata_replay.txt
    A llvm/test/Transforms/SampleProfile/Inputs/inline-topdown-missing.prof
    M llvm/test/Transforms/SampleProfile/csspgo-import-list.ll
    M llvm/test/Transforms/SampleProfile/function_metadata.ll
    M llvm/test/Transforms/SampleProfile/inline-replay.ll

  Log Message:
  -----------
  [SampleProfile] Add all callsites to AllCandidates if InlineReplay is in effect

Replay in sample profiling needs to be asked on candidates that may not have counts or below the threshold. If replay is in effect for a function make sure these are captured and also imported during thinLTO.

Testing:
ninja check-all

Reviewed By: wenlei

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




More information about the All-commits mailing list