interplane.Get Omega
Read in your language

omega-mv

Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.

Brought by drakestapleton

branch main Branches Tags History

omega-mv / seed / ng / tests / ir / r21-checkcode.oir

11 lines · 154 bytes Raw Blame History
1omegair 1
2fn @f0 flags 0 %1:i32 -> i32
3block ^0
4%2 = chk.add 2 %0 %1 %1
5retv %2 %1
6end
7export @f1 flags 0 -> i32
8block ^0
9%1 = const i32 0
10retv %0 %1
11end