diff options
| author | bors <bors@rust-lang.org> | 2023-05-23 10:12:46 +0000 | 
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-05-23 10:12:46 +0000 | 
| commit | f3d597b31c0f101a02c230798afa31a36bdacbc6 (patch) | |
| tree | e1155c3755cf98eb4c0a85607099171616930ae8 /compiler/rustc_query_system | |
| parent | cda5becc27cbc7106646fbc40aacea5e7896d954 (diff) | |
| parent | fb7f1d220c28dd86000d52f846ceb9055ae0ace4 (diff) | |
| download | rust-f3d597b31c0f101a02c230798afa31a36bdacbc6.tar.gz rust-f3d597b31c0f101a02c230798afa31a36bdacbc6.zip  | |
Auto merge of #111807 - erikdesjardins:noalias, r=oli-obk
[rustc_ty_utils] Treat `drop_in_place`'s *mut argument like &mut when adding LLVM attributes This resurrects PR #103614, which has sat idle for a while. This could probably use a new perf run, since we're on a new LLVM version now. r? `@oli-obk` cc `@RalfJung` --- LLVM can make use of the `noalias` parameter attribute on the parameter to `drop_in_place` in areas like argument promotion. Because the Rust compiler fully controls the code for `drop_in_place`, it can soundly deduce parameter attributes on it. In #103957, Miri was changed to retag `drop_in_place`'s argument as if it was `&mut`, matching this change.
Diffstat (limited to 'compiler/rustc_query_system')
0 files changed, 0 insertions, 0 deletions
