bors
d6eb0f5a09
Auto merge of #122582 - scottmcm:swap-intrinsic-v2, r=oli-obk
...
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.
Thus this PR introduces a new `typed_swap` intrinsic with a fallback body, and replaces that fallback implementation when swapping immediates or scalar pairs.
r? oli-obk
Replaces #111744 , and means we'll never need more libs PRs like #111803 or #107140
2024-03-23 13:57:55 +00:00
..
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-03-11 13:35:58 +01:00
2024-03-11 09:31:41 -07:00
2024-03-20 16:02:10 +01:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-03-11 13:35:58 +01:00
2024-03-11 13:35:58 +01:00
2024-02-22 16:04:04 +00:00
2024-03-11 13:35:58 +01:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-03-11 13:35:58 +01:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-03-12 08:52:54 +01:00
2024-03-12 08:52:54 +01:00
2024-03-12 08:52:54 +01:00
2024-03-12 08:52:54 +01:00
2024-03-12 08:52:54 +01:00
2024-03-12 08:52:54 +01:00
2024-03-12 08:52:54 +01:00
2024-02-23 18:04:01 -05:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-02-23 18:04:01 -05:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-03-11 09:36:35 -07:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-03-23 00:02:53 -07:00