Skip to content

Commit e4a8e0e

Browse files
committed
Remove -sil-merge-partial-modules
This is now the default behaviour for -merge-modules. Stop passing it in the driver and remove it from FrontendOptions.td.
1 parent 241c5d9 commit e4a8e0e

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

include/swift/Option/FrontendOptions.td

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -554,10 +554,6 @@ def sil_unroll_threshold : Separate<["-"], "sil-unroll-threshold">,
554554
MetaVarName<"<250>">,
555555
HelpText<"Controls the aggressiveness of loop unrolling">;
556556

557-
// FIXME: This option is now redundant and should eventually be removed.
558-
def sil_merge_partial_modules : Flag<["-"], "sil-merge-partial-modules">,
559-
Alias<merge_modules>;
560-
561557
def sil_verify_all : Flag<["-"], "sil-verify-all">,
562558
HelpText<"Verify SIL after each transform">;
563559

lib/Driver/ToolChains.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -981,9 +981,6 @@ ToolChain::constructInvocation(const MergeModuleJobAction &job,
981981
// serialized ASTs.
982982
Arguments.push_back("-parse-as-library");
983983

984-
// Merge serialized SIL from partial modules.
985-
Arguments.push_back("-sil-merge-partial-modules");
986-
987984
// Disable SIL optimization passes; we've already optimized the code in each
988985
// partial mode.
989986
Arguments.push_back("-disable-diagnostic-passes");

0 commit comments

Comments
 (0)