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
..
2021-09-22 05:17:30 -04:00
2021-09-12 02:30:24 +00:00
2021-10-02 19:38:19 -05:00
2021-09-06 13:18:05 +02:00
2021-09-08 20:51:05 -04:00
2021-09-15 03:06:53 +00:00
2021-09-15 03:06:53 +00:00
2021-09-08 20:51:05 -04:00
2021-09-25 20:04:35 +02:00
2021-08-17 07:15:54 +00:00
2021-09-25 20:04:35 +02:00
2021-06-23 16:26:46 -04:00
2021-09-12 02:23:08 +00:00
2021-09-28 17:57:08 -07:00
2021-09-06 13:18:05 +02:00
2021-08-17 07:15:54 +00:00
2021-09-08 20:51:05 -04:00
2021-09-08 20:51:05 -04:00
2021-09-21 10:04:44 -05:00
2021-09-25 20:04:35 +02:00