diff options
| author | Scott McMurray <scottmcm@users.noreply.github.com> | 2023-04-01 01:46:36 -0700 |
|---|---|---|
| committer | Scott McMurray <scottmcm@users.noreply.github.com> | 2023-04-04 18:44:29 -0700 |
| commit | 9aa9a846b6e131f9a2b1f477ecc19c2024609847 (patch) | |
| tree | 5740ac69dfb4f290a90850c7c41b1d1d2ef2cdd9 /compiler/rustc_codegen_gcc/example/alloc_system.rs | |
| parent | 480068c2359ea65df4481788b5ce717a548ce171 (diff) | |
| download | rust-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
