about summary refs log tree commit diff
path: root/library/std/src/os/unix/process.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-05-30 10:31:10 +0000
committerbors <bors@rust-lang.org>2023-05-30 10:31:10 +0000
commit3266c36624e804f9f086ebd40db19039b55a4ec1 (patch)
tree782ea7ea40d2ff1cc691626e5ab7c1a2189af2ce /library/std/src/os/unix/process.rs
parent578bcbc2b42191556c4438b80ba37fafa4193e82 (diff)
parent164d041e303e9c98daaf35301fa88ba6844277dd (diff)
downloadrust-3266c36624e804f9f086ebd40db19039b55a4ec1.tar.gz
rust-3266c36624e804f9f086ebd40db19039b55a4ec1.zip
Auto merge of #111768 - oli-obk:pair_const_llvm, r=cjgillot
Optimize scalar and scalar pair representations loaded from ByRef in llvm

in https://github.com/rust-lang/rust/pull/105653 I noticed that we were generating suboptimal LLVM IR if we had a `ConstValue::ByRef` that could be represented by a `ScalarPair`. Before https://github.com/rust-lang/rust/pull/105653 this is probably rare, but after it, every slice will go down this suboptimal code path that requires LLVM to untangle a bunch of indirections and translate static allocations that are only used once to read a scalar pair from.
Diffstat (limited to 'library/std/src/os/unix/process.rs')
0 files changed, 0 insertions, 0 deletions