about summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-03-29 01:51:11 +0000
committerbors <bors@rust-lang.org>2023-03-29 01:51:11 +0000
commitacd27bb5572553a4dc9a2d6f21d9a3a68ff8a233 (patch)
tree9fb64499a06648ff6131460e9a15b79db2a37085 /compiler/rustc_interface/src
parentcdbbce0a9e5c839295cf9a8714798af45d541e20 (diff)
parentf20af8d43d9193a2f865ae0361e80158bce0a0a2 (diff)
downloadrust-acd27bb5572553a4dc9a2d6f21d9a3a68ff8a233.tar.gz
rust-acd27bb5572553a4dc9a2d6f21d9a3a68ff8a233.zip
Auto merge of #109612 - scottmcm:instcombine-transmutes, r=cjgillot
Simplify transmutes in MIR InstCombine

Thanks to the combination of #108246 and #108442 it could already remove identity transmutes.

With this PR, it can also simplify them to `IntToInt` casts, `Discriminant` reads, or `Field` projections.
Diffstat (limited to 'compiler/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions