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 / x-minnan.oir
| 1 | omegair 1 |
| 2 | export @f0 flags 0 -> i32 |
| 3 | block ^0 |
| 4 | %1 = const f32 0x7f800001 |
| 5 | %2 = const f32 0xff800002 |
| 6 | %3 = min f32 %1 %2 |
| 7 | %4 = bitcast u32 %3 |
| 8 | %5 = const u32 4194304 |
| 9 | %6 = and u32 %4 %5 |
| 10 | %7 = eq bool %6 %5 |
| 11 | %8 = chk.true 14 %0 %7 |
| 12 | %9 = const i32 0 |
| 13 | retv %8 %9 |
| 14 | end |