JIT: extend VN to understand method table fetch from newobj (#52476)
authorAndy Ayers <andya@microsoft.com>
Sun, 9 May 2021 21:53:40 +0000 (14:53 -0700)
committerGitHub <noreply@github.com>
Sun, 9 May 2021 21:53:40 +0000 (14:53 -0700)
commitdec019c07315a328080623ad5e81f4b175d51aff
tree55cfcbfabfb959e2129791cf1ed722ffbb2d6a79
parentb08a97afb8270511c39fe26d37038877bb63a09b
JIT: extend VN to understand method table fetch from newobj (#52476)

If we see a GT_IND whose base is JitNew, the value number of the IND
is the same as the value number of the class handle for the new.

Partial fix for #52370.
src/coreclr/jit/valuenum.cpp