Skip to content

Commit a7feb67

Browse files
committed
[pass-manager] Do not run mandatory opts until fix point, just run one iteration.
This is most likely an oversight. We should have removed it when the bottom up pass manager was added. rdar://29650781
1 parent a1b113f commit a7feb67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/SILOptimizer/PassManager/PassPipeline.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ static void addOwnershipModelEliminatorPipeline(SILPassPipelinePlan &P) {
7979
}
8080

8181
static void addMandatoryOptPipeline(SILPassPipelinePlan &P) {
82-
P.startPipeline(ExecutionKind::UntilFixPoint, "Guaranteed Passes");
82+
P.startPipeline(ExecutionKind::OneIteration, "Guaranteed Passes");
8383
P.addCapturePromotion();
8484
P.addAllocBoxToStack();
8585
P.addNoReturnFolding();

0 commit comments

Comments
 (0)