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-bcastf64.oir
| 1 | omegair 1 |
| 2 | export @f0 flags 0 -> i32 |
| 3 | block ^0 |
| 4 | %1 = const u64 9223372036854775808 |
| 5 | %2 = bitcast f64 %1 |
| 6 | %3 = bitcast u64 %2 |
| 7 | %4 = eq bool %1 %3 |
| 8 | %5 = const i32 1 |
| 9 | %6 = const i32 0 |
| 10 | %7 = select i32 %4 %6 %5 |
| 11 | retv %0 %7 |
| 12 | end |