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 / r22-alloca.oir
| 1 | omegair 1 |
| 2 | type %t32 = array u32 4 |
| 3 | type %t33 = ref edit private %t32 |
| 4 | fn @f0 flags 0 -> void |
| 5 | block ^0 |
| 6 | br ^1 %0 |
| 7 | block ^1 %1:tok |
| 8 | %2 %3 = alloca %t33 %1 |
| 9 | ret %2 |
| 10 | end |
| 11 | export @f1 flags 0 -> i32 |
| 12 | block ^0 |
| 13 | %1 = const i32 0 |
| 14 | retv %0 %1 |
| 15 | end |