about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-07-04 20:00:41 +0000
committerbors <bors@rust-lang.org>2022-07-04 20:00:41 +0000
commit27eb6d7018e397cf98d51c205e3576951d766323 (patch)
tree9a3724de806f63be8cbfc170e856542db8e5f4ad /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent17581a79adb7b1c064222defa94a5a3d79f5bfb2 (diff)
parent0850bad94dab9499a6dde0f303a73220a21a2f71 (diff)
downloadrust-27eb6d7018e397cf98d51c205e3576951d766323.tar.gz
rust-27eb6d7018e397cf98d51c205e3576951d766323.zip
Auto merge of #98627 - RalfJung:interpret-arith, r=lcnr
interpret: don't rely on ScalarPair for overflowed arithmetic

This is for https://github.com/rust-lang/rust/pull/97861.
Cc `@eddyb`

I would like to avoid making this depend on `dest.layout.abi` to avoid a branch that we are not usually covering both sides of. Though OTOH this seems like fairly straight-forward code. But let's benchmark this option first to see how bad that extra `force_allocation` really is.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions