We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 38a990a + 76afb7c commit b0fe805Copy full SHA for b0fe805
lib/SILOptimizer/PassManager/PassPipeline.cpp
@@ -1091,7 +1091,11 @@ SILPassPipelinePlan::getOnonePassPipeline(const SILOptions &Options) {
1091
1092
// Finally perform some small transforms.
1093
P.startPipeline("Rest of Onone");
1094
- P.addUsePrespecialized();
+
1095
+ // There are not pre-specialized parts of the stdlib in embedded mode.
1096
+ if (!Options.EmbeddedSwift) {
1097
+ P.addUsePrespecialized();
1098
+ }
1099
1100
// Has only an effect if the -assume-single-thread option is specified.
1101
if (P.getOptions().AssumeSingleThreaded) {
0 commit comments