Skip to content

Commit 1880714

Browse files
committed
Ensure no module transform is added in the function pipeline
1 parent 7020cf3 commit 1880714

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/SILOptimizer/PassManager/PassPipeline.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -637,8 +637,8 @@ static void addPerfEarlyModulePassPipeline(SILPassPipelinePlan &P) {
637637
// callees. This provides more precise escape analysis and side effect analysis
638638
// of callee arguments.
639639
static void addHighLevelFunctionPipeline(SILPassPipelinePlan &P) {
640-
P.startPipeline("HighLevel,Function+EarlyLoopOpt");
641-
// FIXME: update EagerSpecializer to be a function pass!
640+
P.startPipeline("HighLevel,Function+EarlyLoopOpt",
641+
true /*isFunctionPassPipeline*/);
642642
P.addEagerSpecializer();
643643
P.addObjCBridgingOptimization();
644644

0 commit comments

Comments
 (0)