mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Disable generic inlining and partial specialization, except in libswiftCore
This avoids code size regressions in programs while still getting the performance improvements in generic code in the stdlib. rdar://problem/32277313
This commit is contained in:
@@ -31,7 +31,7 @@ llvm::cl::opt<bool> PrintShortestPathInfo(
|
||||
llvm::cl::desc("Print shortest-path information for inlining"));
|
||||
|
||||
llvm::cl::opt<bool> EnableSILInliningOfGenerics(
|
||||
"sil-inline-generics", llvm::cl::init(true),
|
||||
"sil-inline-generics", llvm::cl::init(false),
|
||||
llvm::cl::desc("Enable inlining of generics"));
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
Reference in New Issue
Block a user