[all-commits] [llvm/llvm-project] b2ddd5: [ICP] Add a few tunings to indirect-call-promtion

xur-llvm via All-commits all-commits at lists.llvm.org
Tue Jul 22 12:02:41 PDT 2025


  Branch: refs/heads/users/xur-llvm/icp_work
  Home:   https://github.com/llvm/llvm-project
  Commit: b2ddd5c8cd1775e40bfe26decadf51ae3ebe0ebf
      https://github.com/llvm/llvm-project/commit/b2ddd5c8cd1775e40bfe26decadf51ae3ebe0ebf
  Author: Rong Xu <xur at google.com>
  Date:   2025-07-22 (Tue, 22 Jul 2025)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp
    M llvm/test/ThinLTO/X86/memprof-icp.ll
    A llvm/test/Transforms/PGOProfile/indirect_call_promotion2.ll

  Log Message:
  -----------
  [ICP] Add a few tunings to indirect-call-promtion

Indirect-call promotion (ICP) has been adjusted with the following
tunings.
  (1) Candidate functions can be now ICP'd even if only a declaration
      is present.
  (2) All non-cold candidate functions are now considered by ICP.
      Previously, only hot targets were considered.
  (3) If one target cannot be ICP'd, proceed with the remaining
      targets instead of exiting the callsite.

In this patch, all tunings are disabled by default. They will be
enabled in a subsequent patch.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list