diff options
| author | bors <bors@rust-lang.org> | 2023-05-22 15:06:32 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-05-22 15:06:32 +0000 |
| commit | 2fe47b966a8ee689d697583be4182262e7b4fd08 (patch) | |
| tree | 2933eebcfa9f68a6bff70dab8ad086c7352bc06b /compiler/rustc_codegen_llvm/src/builder.rs | |
| parent | 03761a50a3b26daded09e6da79252692c9bbad5f (diff) | |
| parent | 2a466466c768dc56382550a3130674b2eebe227c (diff) | |
| download | rust-2fe47b966a8ee689d697583be4182262e7b4fd08.tar.gz rust-2fe47b966a8ee689d697583be4182262e7b4fd08.zip | |
Auto merge of #111634 - marc0246:arc-new-uninit-bloat, r=thomcc
Fix duplicate `arcinner_layout_for_value_layout` calls when using the uninit `Arc` constructors What this fixes is the duplicate calls to `arcinner_layout_for_value_layout` seen here: https://godbolt.org/z/jr5Gxozhj The issue was discovered alongside #111603 but is otherwise unrelated to the duplicate `alloca`s, which remain unsolved. Everything I tried to solve said main issue has failed. As for the duplicate layout calculations, I also tried slapping `#[inline]` and `#[inline(always)]` on everything in sight but the only thing that worked in the end is to dedup the calls by hand.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/builder.rs')
0 files changed, 0 insertions, 0 deletions
