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-wpidcap.oir
| 1 | omegair 1 |
| 2 | type %t32 = array u8 2 |
| 3 | type %t33 = ref edit host %t32 |
| 4 | global @g0 %t32 zero |
| 5 | export @f0 flags 0 -> i32 |
| 6 | block ^0 |
| 7 | %1 = gaddr %t33 @g0 |
| 8 | %2 = const i32 -1 |
| 9 | %3 = const u64 0 |
| 10 | %4 = const u64 2 |
| 11 | %5 = const i32 1 |
| 12 | %6 = chk.slice 3 %0 %1 %3 %4 |
| 13 | %7 %8 = host i64 116 %6 %2 %1 %3 %4 %5 |
| 14 | %9 = conv i32 0 %8 |
| 15 | retv %7 %9 |
| 16 | end |