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

@@ -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"));
//===----------------------------------------------------------------------===//