Skip to content

Commit 1eeba39

Browse files
authored
Merge pull request #6266 from gottesmm/mandatory_one_iteration
[pass-manager] Do not run mandatory opts until fix point, just run one iteration.
2 parents 066f140 + a7feb67 commit 1eeba39

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)