about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/alloc_system.rs
diff options
context:
space:
mode:
authorScott McMurray <scottmcm@users.noreply.github.com>2023-04-01 01:46:36 -0700
committerScott McMurray <scottmcm@users.noreply.github.com>2023-04-04 18:44:29 -0700
commit9aa9a846b6e131f9a2b1f477ecc19c2024609847 (patch)
tree5740ac69dfb4f290a90850c7c41b1d1d2ef2cdd9 /compiler/rustc_codegen_gcc/example/alloc_system.rs
parent480068c2359ea65df4481788b5ce717a548ce171 (diff)
downloadrust-9aa9a846b6e131f9a2b1f477ecc19c2024609847.tar.gz
rust-9aa9a846b6e131f9a2b1f477ecc19c2024609847.zip
Allow `transmute`s to produce `OperandValue`s instead of always using `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