Files
cs420/examples/ir0/hello_main.ir
Jaewoo Kim 32283f2ed1 Update model solution.
- Stop calculating operands for & operators.
- Evaluate the lhs of compound operators only once.
- Add `side-effect.c` example.
2025-04-07 11:03:18 +00:00

14 lines
101 B
Plaintext

fun i32 @main () {
init:
bid: b0
allocations:
block b0:
ret 1:i32
block b1:
ret 0:i32
}