bors 4566094913 Auto merge of #94512 - RalfJung:sdiv-ub, r=oli-obk
Miri/CTFE: properly treat overflow in (signed) division/rem as UB

To my surprise, it looks like LLVM treats overflow of signed div/rem as UB. From what I can tell, MIR `Div`/`Rem` directly lowers to the corresponding LLVM operation, so to make that correct we also have to consider these overflows UB in the CTFE/Miri interpreter engine.

r? `@oli-obk`
2022-03-03 12:56:24 +00:00
..
2022-03-01 07:43:12 -03:00
2022-02-19 17:27:43 +01:00
2022-02-20 21:00:12 +01:00
2022-02-19 17:27:43 +01:00
2022-03-01 07:43:12 -03:00
2022-02-15 16:03:24 +11:00
2022-03-01 07:43:12 -03:00
2022-03-01 07:43:12 -03:00
2022-03-01 07:43:12 -03:00
2021-12-02 17:31:38 -08:00
2022-02-19 17:27:43 +01:00
2022-02-19 17:27:43 +01:00
2022-02-15 16:03:24 +11:00
2022-02-21 07:09:11 +01:00
2022-02-19 17:27:43 +01:00