Fix a number of reordering issues in shift decomposition.
authorPat Gavlin <pagavlin@microsoft.com>
Tue, 11 Apr 2017 23:46:48 +0000 (16:46 -0700)
committerPat Gavlin <pagavlin@microsoft.com>
Tue, 11 Apr 2017 23:48:33 +0000 (16:48 -0700)
commitffaff863c057357c5dddce8ffc0fc3d8ae4b7ce8
treecd9210c422bb957c5e03c3b0704add9cdbcc9da2
parent446071767dbfa9d61873c4e68eea0e60b4304db6
Fix a number of reordering issues in shift decomposition.

Shift decompostition contained a fair number of IR rewrites that were
unintentionally reordering nodes. This change fixes these instances s.t.
they no longer reorder code.

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