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

20 lines · 442 bytes Raw Blame History
1omegair 1
2type %t32 = array u8 5
3type %t33 = ref view host %t32
4type %t34 = array u8 4
5type %t35 = ref view host %t34
6global @g0 %t32 data 0100010078
7global @g1 %t34 data 01000000
8export @f0 flags 0 -> i32
9block ^0
10%1 = gaddr %t33 @g0
11%2 = gaddr %t35 @g1
12%3 = const u64 0
13%4 = const u64 5
14%5 = const u64 4
15%6 = chk.slice 3 %0 %1 %3 %4
16%7 = chk.slice 3 %6 %2 %3 %5
17%8 %9 = host i64 233 %7 %1 %3 %4 %2 %3 %5
18%10 = conv i32 0 %9
19retv %8 %10
20end