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:
@@ -24,7 +24,7 @@ using namespace swift;
|
||||
|
||||
/// Set to true to enable the support for partial specialization.
|
||||
llvm::cl::opt<bool> EnablePartialSpecialization(
|
||||
"sil-partial-specialization", llvm::cl::init(true),
|
||||
"sil-partial-specialization", llvm::cl::init(false),
|
||||
llvm::cl::desc("Enable partial specialization of generics"));
|
||||
|
||||
/// If set, then generic specialization tries to specialize using
|
||||
|
||||
Reference in New Issue
Block a user