Skip to content

Commit 37443ae

Browse files
author
Joe Shajrawi
committed
Merge pull request #21648 from shajrawi/inline_excl
[Exclusivity] Change the exclusivity checks inline heuristic threshold
1 parent 6f0593a commit 37443ae

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
@@ -104,7 +104,7 @@ class SILPerformanceInliner {
104104
/// The benefit of inlining an exclusivity-containing callee.
105105
/// The exclusivity needs to be: dynamic,
106106
/// has no nested conflict and addresses known storage
107-
ExclusivityBenefit = RemovedCallBenefit + 300,
107+
ExclusivityBenefit = RemovedCallBenefit + 125,
108108

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

0 commit comments

Comments
 (0)