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 / r-struct-elem.oir

14 lines · 274 bytes Raw Blame History
1omegair 1
2type %t32 = struct 4 i32@0:le
3type %t33 = array %t32 1
4type %t34 = ref edit host %t33
5export @f0 flags 0 -> i32
6block ^0
7%1 %2 = alloca %t34 %0
8%3 = const u64 0
9%4 = const u64 1
10%5 = chk.bounds 3 %1 %2 %3 %4
11%6 = load %t32 %5 %2 %3
12%7 = const i32 0
13retv %5 %7
14end