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 / a-hostexecenv.oir

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