Commit graph

2 commits

Author SHA1 Message Date
Nikita Popov
3d8f454cd0 Update bool-cmp.rs codegen 2020-01-07 21:28:22 +01:00
Krishna Sai Veera Reddy
4ca769ad09 Optimize Ord trait implementation for bool
Casting the booleans to `i8`s and converting their difference
into `Ordering` generates better assembly than casting them to
`u8`s and comparing them.
2019-11-29 15:22:44 -07:00