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

19 lines · 407 bytes Raw Blame History
1omegair 1
2type %t32 = array u8 1
3type %t33 = ref view host %t32
4type %t34 = array u8 128
5type %t35 = ref edit host %t34
6global @g0 %t32 zero
7global @g1 %t34 zero
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 128
14%5 = chk.slice 3 %0 %1 %3 %3
15%6 = chk.slice 3 %5 %2 %3 %4
16%7 %8 = host i64 140 %6 %1 %3 %3 %2 %3 %4
17%9 = conv i32 0 %8
18retv %7 %9
19end