Skip to content

Commit 8bb465a

Browse files
committed
[Gardening] Fixed comment.
1 parent 4b85d0a commit 8bb465a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

lib/SILOptimizer/Utils/ShrinkBorrowScope.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -399,10 +399,11 @@ bool Rewriter::run() {
399399
// don't have multiple predecessors) whose end was not reachable (because
400400
// reachability was not able to make it to the top of some other successor).
401401
//
402-
// In other words, a control flow boundary is the target edge from a block B
403-
// to its single predecessor P not all of whose successors S in succ(P) had
404-
// reachable beginnings. We witness that fact about P's successors by way of
405-
// P not having a reachable end--see BackwardReachability::meetOverSuccessors.
402+
// In other words, a control flow boundary is the target block of the edge
403+
// to a block B from its single predecessor P not all of whose successors S
404+
// in succ(P) had reachable beginnings. We witness that fact about P's
405+
// successors by way of P not having a reachable end--see
406+
// IterativeBackwardReachability::meetOverSuccessors.
406407
//
407408
// control-flow-boundary(B) := beginning-reachable(B) && !end-reachable(P)
408409
for (auto *block : barriers.blocks) {

0 commit comments

Comments
 (0)