[all-commits] [llvm/llvm-project] c9a8e1: [ICP] Add a few tunings to indirect-call-promotion...
xur-llvm via All-commits
all-commits at lists.llvm.org
Thu Jul 24 09:55:49 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c9a8e15494c84730a2a8c0713281b3c8aa5b67c4
https://github.com/llvm/llvm-project/commit/c9a8e15494c84730a2a8c0713281b3c8aa5b67c4
Author: xur-llvm <59886942+xur-llvm at users.noreply.github.com>
Date: 2025-07-24 (Thu, 24 Jul 2025)
Changed paths:
M llvm/lib/Analysis/ProfileSummaryInfo.cpp
M llvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp
M llvm/test/ThinLTO/X86/memprof-icp.ll
M llvm/test/Transforms/PGOProfile/icp_mismatch_msg.ll
A llvm/test/Transforms/PGOProfile/indirect_call_promotion2.ll
Log Message:
-----------
[ICP] Add a few tunings to indirect-call-promotion (#149892)
[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.
This update hides all tunings under internal options and disables them
by default. They'll be enabled in a later update. There'll also be
another update to address the "not found" issue with indirect targets.
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