You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unsupported construct: BinaryOp Cmp not yet implemented #136
The patch imports and lowers MIR BinaryOp::Cmp for Ord::cmp, and adds an ord_cmp regression example covering signed and unsigned integer comparisons, including usize and isize.
Validation included cargo oxide run ord_cmp --arch sm_103, which passed all less/equal/greater cases.
Activity
advpropsys commentedon Jun 8, 2026
I opened a PR for this in #147.
The patch imports and lowers MIR
BinaryOp::CmpforOrd::cmp, and adds anord_cmpregression example covering signed and unsigned integer comparisons, includingusizeandisize.Validation included
cargo oxide run ord_cmp --arch sm_103, which passed all less/equal/greater cases.fix(mir-importer): take enum tag storage from rustc layout, keep decl…
refactor(mir-importer): derive the Cmp result type locally
fix(mir-lower): harden enum tag paths against silent index/value conf…
test(examples): extend ord_cmp to lock tag semantics and signedness