small clean-up and bug fix in genIntToIntCast (dotnet/coreclr#10989)
authorSergey Andreenko <seandree@microsoft.com>
Tue, 18 Apr 2017 17:44:01 +0000 (10:44 -0700)
committerGitHub <noreply@github.com>
Tue, 18 Apr 2017 17:44:01 +0000 (10:44 -0700)
commite4b46be0590be18c445e2e68594859a4dd95ba12
tree2ecc2aef36471fc21ad7c415be87b05093509211
parent1cafd554605f3f21bf623343c5fcc41e33b908f9
small clean-up and bug fix in genIntToIntCast (dotnet/coreclr#10989)

genintToIntCast was cleaned-up, the assert that was wrong for x86 was deleted. The repro was added.

Commit migrated from https://github.com/dotnet/coreclr/commit/bbe202b1de189812866acfa288ab1ac21a5fecdb
src/coreclr/src/jit/codegenxarch.cpp
src/coreclr/tests/src/JIT/Regression/JitBlue/DevDiv_406160/DevDiv_406160.il [new file with mode: 0644]
src/coreclr/tests/src/JIT/Regression/JitBlue/DevDiv_406160/DevDiv_406160.ilproj [new file with mode: 0644]