diff options
| author | Scott McMurray <scottmcm@users.noreply.github.com> | 2024-03-15 22:09:05 -0700 |
|---|---|---|
| committer | Scott McMurray <scottmcm@users.noreply.github.com> | 2024-03-17 11:59:18 -0700 |
| commit | 7d537106a192d6a06ccbbb809583e4a52b1ee353 (patch) | |
| tree | 1f0b783a0a919d10eaa61257a0844d98743b8384 /compiler/rustc_codegen_gcc | |
| parent | fd27e8745f0f04dc7c289893ef54a618c7c9e1da (diff) | |
| download | rust-7d537106a192d6a06ccbbb809583e4a52b1ee353.tar.gz rust-7d537106a192d6a06ccbbb809583e4a52b1ee353.zip | |
Let codegen decide when to `mem::swap` with immediates
Making `libcore` decide this is silly; the backend has so much better information about when it's a good idea. So introduce a new `typed_swap` intrinsic with a fallback body, but replace that implementation for immediates and scalar pairs.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions
