rust/compiler
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-08 07:34:59 +00:00
2025-01-08 07:34:59 +00:00
2025-01-07 14:30:02 +02:00
2025-01-07 14:30:02 +02:00
2025-01-08 07:34:59 +00:00
2025-01-08 07:34:59 +00:00