Fix Issue dotnet/coreclr#25134 - AssertionProp incorrectly removes cast from uint
authorBrian Sullivan <briansul@microsoft.com>
Wed, 19 Jun 2019 18:18:02 +0000 (11:18 -0700)
committerBrian Sullivan <briansul@microsoft.com>
Wed, 19 Jun 2019 20:34:25 +0000 (13:34 -0700)
commit654850ae51b082e6bfd3503c0985773f015f8532
tree14ac07801bcf7e311ce88e5f8d52ca214e8bfdf8
parentf2ed612ba066dcdd2d0cc03d82d312410dc22343
Fix Issue dotnet/coreclr#25134 - AssertionProp incorrectly removes cast from uint
Add additional check for the GT_UNSIGNED flag
+ Ran clang-format
+ Code review feedback, use IsUnsigned()

Commit migrated from https://github.com/dotnet/coreclr/commit/d4fd282d4b3d2190f0350a2f1f92c188f0073017
src/coreclr/src/jit/assertionprop.cpp
src/coreclr/src/jit/compiler.h
src/coreclr/src/jit/morph.cpp
src/coreclr/tests/src/JIT/Regression/JitBlue/GitHub_25134/GitHub_25134.cs [new file with mode: 0644]
src/coreclr/tests/src/JIT/Regression/JitBlue/GitHub_25134/GitHub_25134.csproj [new file with mode: 0644]