Preserve VNs in fgMorphIntoHelperCall.
authorPat Gavlin <pagavlin@microsoft.com>
Thu, 13 Apr 2017 23:37:33 +0000 (16:37 -0700)
committerPat Gavlin <pagavlin@microsoft.com>
Thu, 13 Apr 2017 23:37:33 +0000 (16:37 -0700)
commit12e2396662d50f424359efc811bd4327a29a14e1
tree9f8cf1edd28e500f271822809a2f32bded7f5c28
parent743f4aaec7b94ff3756284b480d3f3025bd37141
Preserve VNs in fgMorphIntoHelperCall.

This method is used to transform a node into a semantically-equivalent
helper call, and should preserve any value numbers that are present on
the the node.

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