Mike Hommey
6d9e4076ff
codegen: skip stores for entirely-uninit constant aggregate fields
...
MIR GVN propagates MaybeUninit::uninit() as `const <uninit>` in aggregate
constructions and codegen emits a memcpy from an `[N x i8] undef` global for
each such field, which LLVM materializes as zero-initialization.
We extract the existing `all_bytes_uninit` skip already present for
`Rvalue::Use` and `Rvalue::Repeat` to a separate helper function, and use
it in the `Rvalue::Aggregate` field loop.
2026-07-28 18:48:00 +09:00
..
2026-07-16 16:35:37 +02:00
2026-07-03 00:44:39 +09:00
2026-07-22 11:42:09 +02:00
2026-07-06 16:02:24 -04:00
2026-03-08 10:22:26 -03:00
2026-06-15 00:56:07 +00:00
2026-05-28 16:03:06 -07:00
2026-05-24 00:47:09 -04:00
2026-07-08 12:17:39 -04:00
2026-07-07 00:41:13 -07:00
2026-07-28 01:38:34 -04:00
2026-07-01 11:48:06 -07:00
2026-06-04 15:19:24 +02:00
2026-06-21 21:23:45 +08:00
2026-05-25 17:15:32 +10:00
2026-06-29 08:52:28 -05:00
2026-07-14 09:13:12 +00:00
2026-03-12 16:45:42 -07:00
2026-07-26 07:00:43 +00:00
2026-06-22 15:06:35 +00:00
2026-07-21 14:09:56 +02:00
2026-05-22 22:02:06 -07:00
2026-07-08 12:17:39 -04:00
2026-02-27 12:08:59 -08:00
2026-06-04 15:19:24 +02:00
2026-07-09 16:52:58 +08:00
2026-07-21 14:09:56 +02:00
2026-07-16 10:47:53 -07:00
2026-07-06 16:02:24 -04:00
2026-05-09 01:01:03 -07:00
2026-07-15 14:02:15 +02:00
2026-05-22 22:02:06 -07:00
2026-06-26 13:24:12 +00:00
2026-06-03 16:21:20 +02:00
2026-07-08 12:17:39 -04:00
2026-06-03 12:56:07 +02:00
2026-07-08 12:17:39 -04:00
2026-07-22 11:42:09 +02:00
2026-07-22 11:42:09 +02:00
2026-05-23 16:49:04 -04:00
2026-04-22 17:37:17 +08:00
2026-07-13 10:54:53 +02:00
2026-07-11 21:44:46 -07:00
2026-05-11 17:42:43 +02:00
2026-06-07 16:57:55 -07:00
2026-03-12 16:45:42 -07:00
2026-07-13 10:54:53 +02:00
2026-05-29 07:28:43 +02:00
2026-05-28 23:29:35 +02:00
2026-03-12 16:45:42 -07:00
2026-04-28 09:56:22 -07:00
2026-06-04 15:19:24 +02:00
2026-05-04 15:35:40 +02:00
2026-05-22 22:02:06 -07:00
2026-05-22 22:02:06 -07:00
2026-06-02 19:56:40 +02:00
2026-07-16 12:23:20 +02:00
2026-05-28 05:57:11 +00:00
2026-07-05 15:32:49 +02:00
2026-05-26 14:43:44 +00:00
2026-05-26 14:43:44 +00:00
2026-07-08 12:17:39 -04:00
2026-07-08 12:17:39 -04:00
2026-03-29 02:11:32 -05:00
2026-07-09 18:44:12 -07:00
2026-03-13 10:17:20 -04:00
2026-07-08 12:17:39 -04:00
2026-04-24 10:03:45 +02:00
2026-06-25 20:57:58 -07:00
2026-06-24 20:54:21 +08:00
2026-04-22 17:37:17 +08:00
2026-04-14 03:25:02 +05:30
2026-06-26 13:24:12 +00:00
2026-05-04 15:35:40 +02:00
2026-03-09 09:18:23 +00:00
2026-06-17 13:09:33 -05:00
2026-06-17 13:09:33 -05:00
2026-03-02 15:18:55 +01:00
2026-07-08 12:17:39 -04:00
2026-06-04 15:19:24 +02:00
2026-03-05 11:53:38 +01:00
2026-06-25 23:53:43 +02:00
2026-07-13 10:14:58 -07:00
2026-07-13 10:14:58 -07:00
2026-07-13 10:14:58 -07:00
2026-06-12 23:08:08 +02:00
2026-07-25 20:42:30 +02:00
2026-04-25 14:57:23 -07:00
2026-06-04 15:19:24 +02:00
2026-03-31 09:06:31 +02:00
2026-06-13 11:06:59 -04:00
2026-06-12 14:58:37 -04:00
2026-06-05 20:19:51 +02:00
2026-07-23 12:22:51 +02:00
2026-04-03 03:22:19 +02:00
2026-03-13 10:17:20 -04:00
2026-07-06 18:30:20 -06:00
2026-07-14 08:42:45 +02:00
2026-06-25 20:11:29 -07:00
2026-03-12 16:45:42 -07:00
2026-07-16 12:23:20 +02:00
2026-07-23 12:22:51 +02:00
2026-07-13 10:54:53 +02:00
2026-07-23 12:22:51 +02:00
2026-06-04 15:19:24 +02:00
2026-03-12 16:45:42 -07:00
2026-07-17 15:21:40 -07:00
2026-07-08 12:17:39 -04:00
2026-05-11 17:42:43 +02:00
2026-06-09 17:39:01 +02:00
2026-05-04 00:11:53 +01:00
2026-02-27 10:51:55 +01:00
2026-06-05 20:19:51 +02:00
2026-07-08 12:17:39 -04:00
2026-07-08 12:17:39 -04:00
2026-06-02 19:56:40 +02:00
2026-07-07 17:31:05 +01:00
2026-07-21 14:09:56 +02:00
2026-07-28 18:48:00 +09:00
2026-03-05 11:53:38 +01:00
2026-07-18 10:21:15 -04:00
2026-05-04 15:35:40 +02:00
2026-03-12 16:45:42 -07:00
2026-05-04 15:35:40 +02:00
2026-03-05 11:53:38 +01:00
2026-06-02 19:56:40 +02:00