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 / r-struct-elem.oir
| 1 | omegair 1 |
| 2 | type %t32 = struct 4 i32@0:le |
| 3 | type %t33 = array %t32 1 |
| 4 | type %t34 = ref edit host %t33 |
| 5 | export @f0 flags 0 -> i32 |
| 6 | block ^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 |
| 13 | retv %5 %7 |
| 14 | end |