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-wpidcap.oir

16 lines · 311 bytes Raw Blame History
1omegair 1
2type %t32 = array u8 2
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 i32 -1
9%3 = const u64 0
10%4 = const u64 2
11%5 = const i32 1
12%6 = chk.slice 3 %0 %1 %3 %4
13%7 %8 = host i64 116 %6 %2 %1 %3 %4 %5
14%9 = conv i32 0 %8
15retv %7 %9
16end