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 / opt / x-hello.oir
| 1 | omegair 1 |
| 2 | type %t32 = array u8 6 |
| 3 | type %t33 = ref view host %t32 |
| 4 | global @g0 %t32 data 68656c6c6f0a |
| 5 | export @f0 flags 0 -> i32 |
| 6 | block ^0 |
| 7 | %1 = const i32 1 |
| 8 | %2 = gaddr %t33 @g0 |
| 9 | %3 = const u64 0 |
| 10 | %4 = const u64 6 |
| 11 | %5 = chk.slice 3 %0 %2 %3 %4 |
| 12 | %6 %7 = host i64 54 %5 %1 %2 %3 %4 |
| 13 | %8 = const i32 0 |
| 14 | retv %6 %8 |
| 15 | end |