Rewrite selection for fields (#61370)
authorSingleAccretion <62474226+SingleAccretion@users.noreply.github.com>
Mon, 15 Nov 2021 15:24:55 +0000 (18:24 +0300)
committerGitHub <noreply@github.com>
Mon, 15 Nov 2021 15:24:55 +0000 (16:24 +0100)
commitbb3bdf8a4779ef3006755395a21b279abf2b9cc6
treeca955920bb7f17986cbba8bf99db11a1ca610fac
parenta66a9d8ff2c484975a0cf5dd03a8d25b65d7ec6c
Rewrite selection for fields (#61370)

The issue was that VNApplySelectors uses the types
of fields when selecting, but that's not valid for
"the first field" maps.

Mirror how the stores to fields are numbered.
src/coreclr/jit/valuenum.cpp
src/coreclr/jit/valuenum.h