Skip to content

Commit 043c774

Browse files
committed
[Reachability] Removed restrictive assert.
1 parent dfcc4fc commit 043c774

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

include/swift/SILOptimizer/Analysis/Reachability.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,6 @@ bool IterativeBackwardReachability<Effects>::findBarrier(SILInstruction *from,
761761
if (!effect)
762762
continue;
763763
if (effect == Effect::Gen()) {
764-
assert(false && "found gen (before kill) in reachable block");
765764
continue;
766765
}
767766
// effect == Effect::Kill

0 commit comments

Comments
 (0)