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 57
57
// /
58
58
// / Example 2. Cross-block liveness.
59
59
// /
60
- // / Initial State:
60
+ // / Initial State after initializing a def block :
61
61
// /
62
62
// / -----
63
- // / | Def | [LiveOut ]
63
+ // / | Def | [LiveWithin ]
64
64
// / -----
65
65
// / |
66
66
// / -----
67
67
// / | | [Dead]
68
68
// / -----
69
69
// / |
70
70
// / -----
71
- // / | | [Dead]
71
+ // / | Use | [Dead]
72
72
// / -----
73
73
// /
74
- // / State after updateForUse:
74
+ // / Later state after updateForUse is applied to the use :
75
75
// /
76
76
// / -----
77
77
// / | Def | [LiveOut]
85
85
// / | Use | [LiveWithin]
86
86
// / -----
87
87
// /
88
+ // /
89
+ // / An invariant is that for any liveness region, the post-dominating blocks of
90
+ // / the region are the LiveWithin regions.
91
+ // /
88
92
// ===----------------------------------------------------------------------===//
89
93
90
94
#ifndef SWIFT_SILOPTIMIZER_UTILS_PRUNEDLIVENESS_H
You can’t perform that action at this time.
0 commit comments