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:
Erik Eckstein
2017-05-18 14:45:13 -07:00
parent eae211332d
commit 74fa0bcc87
10 changed files with 13 additions and 10 deletions

View File

@@ -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