Eliminate chained casts to small types (#52561)
authorSingleAccretion <62474226+SingleAccretion@users.noreply.github.com>
Fri, 25 Jun 2021 06:32:54 +0000 (09:32 +0300)
committerGitHub <noreply@github.com>
Fri, 25 Jun 2021 06:32:54 +0000 (23:32 -0700)
commitec42090f311ae3239abe61830e75bddc761fc828
tree77bd8891d6eee118f67cf97ef6b671b18e49b4cd
parentb5b8863005d0d95cc470be458108b5176396a522
Eliminate chained casts to small types (#52561)

We can take advantage of the implicit zero/sign-extension for
small integer types and eliminate some casts.
src/coreclr/jit/morph.cpp