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 / n-neg8.oir
| 1 | omegair 1 |
| 2 | export @f0 flags 0 -> i32 |
| 3 | block ^0 |
| 4 | %1 = const i8 -128 |
| 5 | %2 = neg i8 %1 |
| 6 | %3 = eq bool %2 %1 |
| 7 | %4 = const i32 0 |
| 8 | %5 = const i32 1 |
| 9 | %6 = select i32 %3 %4 %5 |
| 10 | retv %0 %6 |
| 11 | end |