Skip to content

Commit 2bfa402

Browse files
authored
NJVL: SSU design (#1530)
1 parent bc9dc32 commit 2bfa402

File tree

2 files changed

+571
-0
lines changed

2 files changed

+571
-0
lines changed

doc/njvl-spec.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ proc p(cond: bool) =
120120

121121
## VL - "Versioned Locations"
122122

123+
The VL pass adds version information to all locations. The current implementation uses **SSA (Static Single Assignment)** where versions track writes. Since versioning is separate from control flow analysis, we can also attach an **SSU (Static Single Use)** mechanism instead or alongside SSA. See [njvl-ssu-ideas.md](njvl-ssu-ideas.md) for details on how SSU could be implemented.
124+
123125
### `v` (version)
124126

125127
The `v` tag is used to represent the version of a variable. For example:

0 commit comments

Comments
 (0)