Fix optimization of CAST(int)(LSH(long)<<CNS_INT 32+ with side effects). (#19899)
authorSergey Andreenko <seandree@microsoft.com>
Wed, 12 Sep 2018 03:32:35 +0000 (20:32 -0700)
committerGitHub <noreply@github.com>
Wed, 12 Sep 2018 03:32:35 +0000 (20:32 -0700)
commita3443a53b4f6f2f50d666116b0281b65b961197a
tree53b0c456b174e00c619f9cf648c7932b1dc2ecc5
parent9de98ef09a8998ba8c1f369c0d8067d5ffe1e0e7
Fix optimization of CAST(int)(LSH(long)<<CNS_INT 32+ with side effects). (#19899)

* add a repro test

* Fix
src/jit/morph.cpp
tests/src/JIT/Regression/JitBlue/GitHub_19272/GitHub_19272.cs [new file with mode: 0644]
tests/src/JIT/Regression/JitBlue/GitHub_19272/GitHub_19272.csproj [new file with mode: 0644]