Update model solution.

- Stop calculating operands for & operators.
- Evaluate the lhs of compound operators only once.
- Add `side-effect.c` example.
This commit is contained in:
Jaewoo Kim
2025-04-07 11:03:18 +00:00
parent 7a95032d43
commit 32283f2ed1
26 changed files with 331 additions and 210 deletions

View File

@@ -2,12 +2,12 @@
fun i32 @main () {
init:
bid: b0
allocations:
allocations:
block b0:
ret 1:i32
block b1:
ret 1:i32
ret 0:i32
}