Skip to content

Commit 3ce5a8a

Browse files
authored
Merge pull request swiftlang#23605 from gottesmm/pr-937f01d72cc45dc9fcaa37f4fb1a5b008030344e
2 parents 175acc6 + 3d7123e commit 3ce5a8a

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
@@ -100,7 +100,7 @@ static void addMandatoryOptPipeline(SILPassPipelinePlan &P) {
100100
// there.
101101
const auto &Options = P.getOptions();
102102
P.addClosureLifetimeFixup();
103-
if (Options.EnableMandatorySemanticARCOpts && Options.shouldOptimize()) {
103+
if (Options.shouldOptimize()) {
104104
P.addSemanticARCOpts();
105105
}
106106
if (Options.StripOwnershipDuringDiagnosticsPipeline)

0 commit comments

Comments
 (0)