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 / x-pool.oir

13 lines · 241 bytes Raw Blame History
1omegair 1
2global @g0 u32 pool
3export @f0 flags 0 -> i32
4block ^0
5%1 = const u64 3
6%2 %3 = pool.grow i64 @g0 %0 %1
7%4 = const u64 1
8%5 = const u32 23
9%6 = pool.store @g0 %2 %4 %5
10%7 = pool.load u32 @g0 %6 %4
11%8 = conv i32 0 %7
12retv %6 %8
13end