interplane.Get Omega
Read in your language

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

branch main Branches Tags History

omega-mv / seed / ng / tests / ir / n-neg8.oir

11 lines · 172 bytes Raw Blame History
1omegair 1
2export @f0 flags 0 -> i32
3block ^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
10retv %0 %6
11end