rust/library/core
bors 4479cb82e5 Auto merge of #89459 - tspiteri:idiv-overflow-bitand, r=kennytm
Use bitand when checking for signed integer division overflow

For `self == Self::MIN && rhs == -1`, LLVM does not realize that this is the same check made by `self / rhs`, so the code generated may have some unnecessary duplication. For `(self == Self::MIN) & (rhs == -1)`, LLVM realizes it is the same check.
2021-10-03 10:34:57 +00:00
..
benches
primitive_docs Add primitive documentation to libcore 2021-09-12 02:23:08 +00:00
src Auto merge of #89459 - tspiteri:idiv-overflow-bitand, r=kennytm 2021-10-03 10:34:57 +00:00
tests Revert "Auto merge of #86853 - usbalbin:const_try, r=oli-obk" 2021-10-02 00:07:48 +02:00
Cargo.toml