Scott McMurray
8dcc676c92
[mir-opt] GVN some more transmute cases
...
We already did `Transmute`-then-`PtrToPtr`; this adds the nearly-identical `PtrToPtr`-then-`Transmute`.
It also adds `transmute(Foo(x))` → `transmute(x)`, when `Foo` is a single-field transparent type. That's useful for things like `NonNull { pointer: p }.as_ptr()`.
Found these as I was looking at MCP807-related changes.
2025-01-08 18:46:30 -08:00
..
2025-01-08 07:34:59 +00:00
2025-01-08 07:34:59 +00:00
2025-01-07 21:36:37 +01:00
2025-01-08 07:34:59 +00:00
2025-01-06 21:53:48 +01:00
2025-01-08 21:31:51 +00:00
2025-01-07 01:02:22 +00:00
2025-01-07 15:30:25 +01:00
2025-01-06 22:04:13 -05:00
2025-01-07 14:30:02 +02:00
2025-01-06 15:38:02 +03:00
2025-01-08 07:34:59 +00:00
2025-01-06 22:04:13 -05:00
2025-01-08 07:34:59 +00:00
2025-01-08 07:34:59 +00:00
2025-01-08 07:34:59 +00:00
2025-01-08 07:34:59 +00:00
2025-01-06 22:04:17 -05:00
2025-01-08 07:34:59 +00:00
2025-01-05 17:13:33 -08:00
2025-01-07 01:02:22 +00:00
2025-01-07 14:30:02 +02:00
2025-01-07 14:30:02 +02:00
2025-01-08 18:21:00 +01:00
2025-01-08 21:31:51 +00:00
2025-01-08 18:46:30 -08:00
2025-01-06 17:58:42 +00:00
2025-01-08 07:34:59 +00:00
2025-01-08 07:34:59 +00:00
2025-01-08 00:10:16 +00:00
2025-01-07 14:24:47 +02:00
2025-01-06 22:04:17 -05:00
2025-01-06 22:04:13 -05:00
2025-01-06 06:11:15 +00:00
2025-01-08 00:52:49 -05:00
2025-01-06 22:04:13 -05:00
2025-01-06 17:58:42 +00:00