diff options
| author | bors <bors@rust-lang.org> | 2022-03-03 12:56:24 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-03-03 12:56:24 +0000 |
| commit | 92b6955b12a11d8c1e60fc08e8245d5d55f3a4fb (patch) | |
| tree | d62aa4820f4133331b3c100e69d3022e5be1c6ba /compiler/rustc_llvm/llvm-wrapper | |
| parent | 7f44a753ce21ad8be1f77bbfb1e21b14d1bb8194 (diff) | |
| parent | c45a42a3327baeb6bfd05a0d95e795a9e65a88b2 (diff) | |
| download | rust-92b6955b12a11d8c1e60fc08e8245d5d55f3a4fb.tar.gz rust-92b6955b12a11d8c1e60fc08e8245d5d55f3a4fb.zip | |
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`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper')
0 files changed, 0 insertions, 0 deletions
