Files
swift-mirror/include/swift/SILOptimizer/Utils/PerformanceInlinerUtils.h
Erik Eckstein 8f47439148 PerformanceInliner: disable shortest-path-analysis for huge functions.
As the complexity of the analysis is more than linear with the number of blocks, disable it for functions with > 2000 basic blocks.
In this case inlining will be less aggressive.

SR-10209
rdar://problem/49522869
2019-04-10 10:37:37 -07:00

16 KiB