Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/blob/main/seed/ng/a64/tests/oir/u-selslice-apart.oir # 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 Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-mv / seed / ng / a64 / tests / oir / u-selslice-apart.oir` 22 lines ยท 458 bytes Raw Blame History 1 omegair 1 2 type %t32 = array u32 16 3 type %t33 = ref edit host %t32 4 type %t34 = slice edit host u32 5 global @g0 %t32 zero 6 export @f0 flags 0 -> i32 7 block ^0 8 %1 = gaddr %t33 @g0 9 %2 = const u64 0 10 %3 = const u64 3 11 %4 = const u64 7 12 %5 = chk.slice 3 %0 %1 %2 %3 13 %6 = slice %t34 %5 %1 %2 %3 14 %7 = chk.slice 3 %5 %1 %2 %4 15 %8 = slice %t34 %7 %1 %2 %4 16 %9 = eq bool %3 %4 17 %10 = const u64 1 18 %11 = select %t34 %9 %6 %8 19 %12 = len u64 %11 20 %13 = conv i32 0 %12 21 retv %7 %13 22 end