about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/interface.rs
diff options
context:
space:
mode:
authorAngelicosPhosphoros <angelicos.phosphoros@protonmail.com>2023-12-30 20:51:53 +0100
committerAngelicosPhosphoros <angelicos.phosphoros@protonmail.com>2024-01-06 14:26:37 +0100
commit8f432d4ae602cbf629974910a002998c1aa0f653 (patch)
tree2dc94823ff7c42b8f4d6fa485743f6813f6e69a2 /compiler/rustc_interface/src/interface.rs
parente21f4cd98fcf03fb7895f13421699f58132e4beb (diff)
downloadrust-8f432d4ae602cbf629974910a002998c1aa0f653.tar.gz
rust-8f432d4ae602cbf629974910a002998c1aa0f653.zip
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