Skip to content

Commit 11f0648

Browse files
author
Joe Shajrawi
authored
Merge pull request #21648 from shajrawi/inline_excl
[Exclusivity] Change the exclusivity checks inline heuristic threshold
2 parents ed721c6 + 5195e79 commit 11f0648

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/SILOptimizer/Transforms/PerformanceInliner.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ class SILPerformanceInliner {
105105
/// The benefit of inlining an exclusivity-containing callee.
106106
/// The exclusivity needs to be: dynamic,
107107
/// has no nested conflict and addresses known storage
108-
ExclusivityBenefit = RemovedCallBenefit + 300,
108+
ExclusivityBenefit = RemovedCallBenefit + 125,
109109

110110
/// The benefit of inlining class methods with -Osize.
111111
/// We only inline very small class methods with -Osize.

0 commit comments

Comments
 (0)