Fix DevDiv bug 359737.
authorPat Gavlin <pagavlin@microsoft.com>
Tue, 3 Jan 2017 20:24:56 +0000 (12:24 -0800)
committerPat Gavlin <pagavlin@microsoft.com>
Tue, 3 Jan 2017 20:46:11 +0000 (12:46 -0800)
commit7b32c8db705fc861ab3c52c47aecc6b647b7d5e8
treea56a31afb6f81c01b13e2469a68d312677d6be2c
parentcbd69efb748e76485dfe0b783387ed34de82be9e
Fix DevDiv bug 359737.

This bug was an assertion during CSE that ensures that all CSE
candidates have value numbers. This assertion tripped because an earlier
CSE in the same tree as the faulty candidate re-morphed modulus by a
constant into a divide and subtract; the resulting tree was left without
value numbers. This change disables the problematic transform when
remorphing as part of CSE.
src/jit/morph.cpp
tests/src/JIT/Regression/JitBlue/DevDiv_359737/DevDiv_359737.il [new file with mode: 0644]
tests/src/JIT/Regression/JitBlue/DevDiv_359737/DevDiv_359737.ilproj [new file with mode: 0644]