about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/interface.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-01-12 20:18:04 +0000
committerbors <bors@rust-lang.org>2024-01-12 20:18:04 +0000
commit2319be8e265dd19973574eb581d28297baf44b11 (patch)
treed2e17f42a442569b19d5ab3a20be16dd27bd6733 /compiler/rustc_interface/src/interface.rs
parentce1f2ccf5a5ac9343623bd115a05e4151d93af0d (diff)
parent8f432d4ae602cbf629974910a002998c1aa0f653 (diff)
downloadrust-2319be8e265dd19973574eb581d28297baf44b11.tar.gz
rust-2319be8e265dd19973574eb581d28297baf44b11.zip
Auto merge of #119452 - AngelicosPhosphoros:make_nonzeroint_get_assume_nonzero, r=scottmcm
Add assume into `NonZeroIntX::get`

LLVM currently don't support range metadata for function arguments so it fails to optimize non zero integers using their invariant if they are provided using by-value function arguments.

Related to https://github.com/rust-lang/rust/issues/119422
Related to https://github.com/llvm/llvm-project/issues/76628
Related to https://github.com/rust-lang/rust/issues/49572
Diffstat (limited to 'compiler/rustc_interface/src/interface.rs')
0 files changed, 0 insertions, 0 deletions