Skip to content

Commit c2ed51e

Browse files
Merge pull request swiftlang#81059 from nate-chandler/rdar149896608
Revert "[DCE] Verify liveness of completed lifetimes."
2 parents 6cf9ee5 + fdd896e commit c2ed51e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/SILOptimizer/Transforms/DeadCodeElimination.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -835,9 +835,7 @@ bool DCE::removeDead() {
835835
}
836836
}
837837

838-
OSSALifetimeCompletion completion(
839-
F, DT, *deadEndBlocks, OSSALifetimeCompletion::IgnoreTrivialVariable,
840-
/*forceLivenessVerification=*/true);
838+
OSSALifetimeCompletion completion(F, DT, *deadEndBlocks);
841839
for (auto value : valuesToComplete) {
842840
if (!value.has_value())
843841
continue;

0 commit comments

Comments
 (0)