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-03-22 12:29:42 +00:00
2024-03-22 12:29:42 +00:00
2024-03-22 11:36:58 +01:00
2024-03-22 11:36:58 +01:00
2024-03-23 00:37:05 +00:00
2024-03-23 00:37:05 +00:00
2024-03-22 20:34:14 +00:00
2024-03-23 00:37:05 +00:00
2024-03-23 00:37:05 +00:00
2024-03-23 13:57:55 +00:00
2024-03-23 13:57:55 +00:00
2024-03-21 09:01:18 +00:00
2024-03-22 11:37:02 +01:00
2024-03-19 00:04:09 +00:00
2024-03-20 13:43:41 +00:00
2024-03-22 11:36:58 +01:00
2024-03-22 11:36:58 +01:00
2024-03-22 12:29:42 +00:00
2024-03-23 13:57:55 +00:00
2024-03-21 11:42:49 -04:00
2024-03-22 22:35:11 +00:00
2024-03-21 14:27:11 +01:00
2024-03-19 16:32:01 +00:00
2024-03-22 11:16:57 -04:00
2024-03-22 11:37:02 +01:00
2024-03-22 22:35:11 +00:00
2024-03-16 23:28:47 +01:00
2024-03-17 10:11:04 -07:00
2024-03-21 06:12:24 +00:00
2024-03-22 22:35:11 +00:00
2024-03-22 11:13:27 -04:00
2024-03-22 11:13:29 -04:00
2024-03-23 00:37:05 +00:00
2024-03-22 20:34:14 +00:00
2024-03-22 11:13:29 -04:00
2024-03-22 11:36:58 +01:00
2024-03-16 22:33:02 +00:00
2024-03-23 00:37:05 +00:00
2024-03-22 11:13:29 -04:00
2024-03-21 14:27:11 +01:00
2024-03-21 11:42:49 -04:00
2024-03-21 11:50:40 +11:00
2024-03-22 22:35:11 +00:00
2024-03-23 13:57:55 +00:00
2024-03-22 11:13:29 -04:00
2024-03-21 17:46:51 +01:00
2024-03-22 22:35:11 +00:00
2024-03-22 20:31:29 +01:00
2024-03-22 11:13:29 -04:00
2024-03-22 11:13:29 -04:00
2024-03-22 11:16:56 -04:00