Skip to content

Commit 0665f71

Browse files
committed
AliasAnalysis: reduce the complexity limit a bit
1 parent aa274a2 commit 0665f71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SwiftCompilerSources/Sources/Optimizer/Analysis/AliasAnalysis.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ struct AliasAnalysis {
460460
for _ in function.instructions { numInsts += 1 }
461461
cache.estimatedFunctionSize = numInsts
462462
}
463-
return 1000000 / cache.estimatedFunctionSize!
463+
return 200000 / cache.estimatedFunctionSize!
464464
}
465465

466466
/// Returns true if the `instruction` (which in general writes to memory) is immutable in a certain scope,

0 commit comments

Comments
 (0)