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 /tests/rustdoc-js-std/parser-errors.js | |
parent | 478cbb42b730ba4739351b72ce2aa928e78e2f81 (diff) | |
download | rust-f20af8d43d9193a2f865ae0361e80158bce0a0a2.tar.gz |
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 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions