about summary refs log tree commit diff
path: root/src/test/codegen/bool-cmp.rs
AgeCommit message (Collapse)AuthorLines
2019-11-29Optimize Ord trait implementation for boolKrishna Sai Veera Reddy-0/+17
Casting the booleans to `i8`s and converting their difference into `Ordering` generates better assembly than casting them to `u8`s and comparing them.