Fix VSO 278376.
authorPat Gavlin <pagavlin@microsoft.com>
Fri, 28 Oct 2016 18:44:18 +0000 (11:44 -0700)
committerPat Gavlin <pagavlin@microsoft.com>
Mon, 31 Oct 2016 17:38:50 +0000 (10:38 -0700)
commitc6527c960b52148dd467fa34a3f24fc4305cc352
tree7b01d118cd013843c53db752fbf7c49fa487540a
parent9a3ac1852eafd1556e986cb8343bdedf5a9c61ac
Fix VSO 278376.

genFloatToFloatCast was not checking whether or not its source operand
was an in-memory, register-optional node before comparing its source
register against its target register. This caused an assert in checked
builds (and SBCG in release builds) because the source temp was never
released.
src/jit/codegenxarch.cpp
tests/src/JIT/Regression/JitBlue/DevDiv_278376/DevDiv_278376.cs [new file with mode: 0644]
tests/src/JIT/Regression/JitBlue/DevDiv_278376/DevDiv_278376.csproj [new file with mode: 0644]