about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/alloc_system.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-04-05 03:26:38 +0000
committerbors <bors@rust-lang.org>2023-04-05 03:26:38 +0000
commit8d321f7a88f0ae27793c133390e507bf1f49125a (patch)
treedbd69df1bb04e6a69604f387fd53b38727ee1173 /compiler/rustc_codegen_gcc/example/alloc_system.rs
parentf98a2718141593fbb8dbad10acc537786d748156 (diff)
parent9aa9a846b6e131f9a2b1f477ecc19c2024609847 (diff)
downloadrust-8d321f7a88f0ae27793c133390e507bf1f49125a.tar.gz
rust-8d321f7a88f0ae27793c133390e507bf1f49125a.zip
Auto merge of #109843 - scottmcm:better-transmute, r=WaffleLapkin
Allow `transmute`s to produce `OperandValue`s instead of needing `alloca`s

LLVM can usually optimize these away, but especially for things like transmutes of newtypes it's silly to generate the `alloc`+`store`+`load` at all when it's actually a nop at LLVM level.
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/alloc_system.rs')
0 files changed, 0 insertions, 0 deletions