Skip to content

Commit 540ecac

Browse files
authored
Merge pull request #34908 from atrick/comment-escape
2 parents 59c041d + 4396eba commit 540ecac

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/SILOptimizer/Analysis/EscapeAnalysis.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -771,7 +771,8 @@ void EscapeAnalysis::ConnectionGraph::mergeAllScheduledNodes() {
771771
if (From->mappedValue) {
772772
// values previously mapped to 'From' but not transferred to 'To's
773773
// mappedValue must remain mapped to 'From'. Lookups on those values will
774-
// find 'To' via the mergeTarget. Dropping a value's mapping is illegal
774+
// find 'To' via the mergeTarget and will remap those values to 'To'
775+
// on-the-fly for efficiency. Dropping a value's mapping is illegal
775776
// because it could cause a node to be recreated without the edges that
776777
// have already been discovered.
777778
if (!To->mappedValue) {

0 commit comments

Comments
 (0)