diff options
| author | Scott McMurray <scottmcm@users.noreply.github.com> | 2023-03-25 14:32:31 -0700 |
|---|---|---|
| committer | Scott McMurray <scottmcm@users.noreply.github.com> | 2023-03-28 18:18:10 -0700 |
| commit | f20af8d43d9193a2f865ae0361e80158bce0a0a2 (patch) | |
| tree | 144789651a03cbe85404b3e80cb7842026eaed4c /compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp | |
| parent | 478cbb42b730ba4739351b72ce2aa928e78e2f81 (diff) | |
| download | rust-f20af8d43d9193a2f865ae0361e80158bce0a0a2.tar.gz rust-f20af8d43d9193a2f865ae0361e80158bce0a0a2.zip | |
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_llvm/llvm-wrapper/ArchiveWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
