diff options
| author | bors <bors@rust-lang.org> | 2025-02-20 09:05:22 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-02-20 09:05:22 +0000 |
| commit | c62239aeb3ba7781a6d7f7055523c1e8c22b409c (patch) | |
| tree | 13712efebce07a59086ef0ea920496ec9ea5786c /library/std/src/env.rs | |
| parent | eeb9035117dc85fa4abe8e2abb09285fd65b0263 (diff) | |
| parent | 6f9cfd694d67ad24af6c7e2235a2da5d22918df0 (diff) | |
| download | rust-c62239aeb3ba7781a6d7f7055523c1e8c22b409c.tar.gz rust-c62239aeb3ba7781a6d7f7055523c1e8c22b409c.zip | |
Auto merge of #137058 - scottmcm:trunc-unchecked, r=nikic
Emit `trunc nuw` for unchecked shifts and `to_immediate_scalar` - For shifts this shrinks the IR by no longer needing an `assume` while still providing the UB information - Having this on the `i8`→`i1` truncations will hopefully help with some places that have to load `i8`s or pass those in LLVM structs without range information
Diffstat (limited to 'library/std/src/env.rs')
0 files changed, 0 insertions, 0 deletions
