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 / r25-oldtoken.oir

14 lines · 263 bytes Raw Blame History
1omegair 1
2type %t32 = array u32 16
3type %t33 = ref edit host %t32
4global @g0 %t32 zero
5export @f0 flags 0 -> i32
6block ^0
7%1 = gaddr %t33 @g0
8%2 = const u64 3
9%3 = const u64 1
10%4 = chk.bounds 3 %0 %1 %2 %3
11%5 = load u32 %0 %1 %2
12%6 = conv i32 0 %5
13retv %4 %6
14end