about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/builder.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-05-22 15:06:32 +0000
committerbors <bors@rust-lang.org>2023-05-22 15:06:32 +0000
commit2fe47b966a8ee689d697583be4182262e7b4fd08 (patch)
tree2933eebcfa9f68a6bff70dab8ad086c7352bc06b /compiler/rustc_codegen_llvm/src/builder.rs
parent03761a50a3b26daded09e6da79252692c9bbad5f (diff)
parent2a466466c768dc56382550a3130674b2eebe227c (diff)
downloadrust-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