File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 5757// /
5858// / Example 2. Cross-block liveness.
5959// /
60- // / Initial State:
60+ // / Initial State after initializing a def block :
6161// /
6262// / -----
63- // / | Def | [LiveOut ]
63+ // / | Def | [LiveWithin ]
6464// / -----
6565// / |
6666// / -----
6767// / | | [Dead]
6868// / -----
6969// / |
7070// / -----
71- // / | | [Dead]
71+ // / | Use | [Dead]
7272// / -----
7373// /
74- // / State after updateForUse:
74+ // / Later state after updateForUse is applied to the use :
7575// /
7676// / -----
7777// / | Def | [LiveOut]
8585// / | Use | [LiveWithin]
8686// / -----
8787// /
88+ // /
89+ // / An invariant is that for any liveness region, the post-dominating blocks of
90+ // / the region are the LiveWithin regions.
91+ // /
8892// ===----------------------------------------------------------------------===//
8993
9094#ifndef SWIFT_SILOPTIMIZER_UTILS_PRUNEDLIVENESS_H
You can’t perform that action at this time.
0 commit comments