[llvm] [TTI][AMDGPU] Allow targets to adjust `LastCallToStaticBonus` via `getInliningLastCallToStaticBonus` (PR #111311)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 11 07:10:11 PDT 2024
================
@@ -74,6 +74,11 @@ class TargetTransformInfoImplBase {
unsigned getInliningCostBenefitAnalysisProfitableMultiplier() const {
return 8;
}
+ int getInliningLastCallToStaticBonus() const {
+ // This is the value of InlineConstants::LastCallToStaticBonus before this
----------------
nikic wrote:
Comment no longer makes sense now that you removed the constant?
https://github.com/llvm/llvm-project/pull/111311
More information about the llvm-commits
mailing list