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 / k-shfl-u32.oir
| 1 | omegair 1 |
| 2 | kernel @f0 flags 0 threads 32 1 1 subgroup 32 -> void |
| 3 | block ^0 |
| 4 | %1 = const u32 7 |
| 5 | %2 = const u32 31 |
| 6 | %3 = shfl u32 4 %1 %2 |
| 7 | ret %0 |
| 8 | end |
| 9 | export @f1 flags 0 -> i32 |
| 10 | block ^0 |
| 11 | %1 = const i32 0 |
| 12 | retv %0 %1 |
| 13 | end |