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-bcastf32.oir
| 1 | omegair 1 |
| 2 | export @f0 flags 0 -> i32 |
| 3 | block ^0 |
| 4 | %1 = const u32 2147483648 |
| 5 | %2 = bitcast f32 %1 |
| 6 | %3 = bitcast u32 %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 |