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
omega-mv / seed / ng / tests / ir / x-symlpkt.oir
| 1 | omegair 1 |
| 2 | type %t32 = array u8 5 |
| 3 | type %t33 = ref view host %t32 |
| 4 | global @g0 %t32 data 0100010061 |
| 5 | export @f0 flags 0 -> i32 |
| 6 | block ^0 |
| 7 | %1 = gaddr %t33 @g0 |
| 8 | %2 = const u64 0 |
| 9 | %3 = const u64 5 |
| 10 | %4 = chk.slice 3 %0 %1 %2 %3 |
| 11 | %5 %6 = host i64 142 %4 %1 %2 %3 |
| 12 | %7 = conv i32 0 %6 |
| 13 | retv %5 %7 |
| 14 | end |