Skip to content

Commit 5195e79

Browse files
author
Joe Shajrawi
committed
[Exclusivity] Change the exclusivity checks inline heuristic threshold
1 parent ea8e2a2 commit 5195e79

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)