Updating the HWIntrinsics to support dropping unnecessary casts (#36512)
authorTanner Gooding <tagoo@outlook.com>
Thu, 21 May 2020 19:51:50 +0000 (12:51 -0700)
committerGitHub <noreply@github.com>
Thu, 21 May 2020 19:51:50 +0000 (12:51 -0700)
commitaa7668dec5dab838623f2d74bdeda8913a45eb79
tree870f109ad51dedee13f6279d02c3fa43d2453d9a
parenta2663dabe5325befb2ccd6fd02480c54f766bf6b
Updating the HWIntrinsics to support dropping unnecessary casts (#36512)

* Updating the HWIntrinsics to support dropping unnecessary casts

* Applying formatting patch

* Only drop the cast operation if the source is greater than or equal to the expected size
src/coreclr/src/jit/lower.h
src/coreclr/src/jit/lowerarmarch.cpp
src/coreclr/src/jit/lowerxarch.cpp