Skip to content

Commit d249ed6

Browse files
committed
Revert "[DCE] Verify liveness of completed lifetimes."
This reverts commit 3ec9b26. rdar://149896608
1 parent ce9d5f5 commit d249ed6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/SILOptimizer/Transforms/DeadCodeElimination.cpp

+1-3
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)