Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions lib/SILOptimizer/PassManager/PassPipeline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -445,10 +445,6 @@ static void addPerfEarlyModulePassPipeline(SILPassPipelinePlan &P) {
// the stdlib and then everything else.
P.addNonStdlibNonTransparentFunctionOwnershipModelEliminator();

// We earlier eliminated ownership if we are not compiling the stdlib. Now
// handle the stdlib functions.
P.addNonTransparentFunctionOwnershipModelEliminator();

// Start by linking in referenced functions from other modules.
P.addPerformanceSILLinker();

Expand All @@ -457,6 +453,10 @@ static void addPerfEarlyModulePassPipeline(SILPassPipelinePlan &P) {
// is linked in from the stdlib.
P.addTempRValueOpt();

// We earlier eliminated ownership if we are not compiling the stdlib. Now
// handle the stdlib functions.
P.addNonTransparentFunctionOwnershipModelEliminator();

// Needed to serialize static initializers of globals for cross-module
// optimization.
P.addGlobalOpt();
Expand Down