Improve int->long cast decomposition
authorMike Danes <onemihaid@hotmail.com>
Sat, 7 Jan 2017 09:13:23 +0000 (11:13 +0200)
committerMike Danes <onemihaid@hotmail.com>
Thu, 19 Jan 2017 21:23:48 +0000 (23:23 +0200)
commitdd41c5e15eb809e671888369d0cb043e9c7fd9a4
tree0fc7125faaa44b2803b53f25e7b7a53c997fea16
parentb18f69d46952685ac5669f470f1f1afd02e8a349
Improve int->long cast decomposition

If the cast is used by a GT_MUL then don't decompose it. This avoids producing dead code that's more difficult to remove later.

Commit migrated from https://github.com/dotnet/coreclr/commit/fb4447a69646dd7e1f492aa543c9485f0ee9b5b9
src/coreclr/src/jit/decomposelongs.cpp