JIT: small OSR locals must be normalize on load (#84000)
authorAndy Ayers <andya@microsoft.com>
Tue, 28 Mar 2023 23:27:21 +0000 (16:27 -0700)
committerGitHub <noreply@github.com>
Tue, 28 Mar 2023 23:27:21 +0000 (16:27 -0700)
commitfd157a5fe90c1e9a3142a872176e2e81ea9f4e4f
treeee53c5c5822382a94dc6902f265e0620d6362ddc
parentdc75cd87afa5c6fc461c1f713c835325b664df4e
JIT: small OSR locals must be normalize on load (#84000)

When I changed the importation strategy for OSR in #83910 it
exposed a latent issue -- small OSR locals must normalized on load if
they were exposed at Tier0.

Fixes #83959.
Fixes #83960.
src/coreclr/jit/compiler.h
src/coreclr/jit/lclvars.cpp
src/coreclr/jit/morph.cpp
src/tests/JIT/opt/OSR/normalizeonload.cs [new file with mode: 0644]
src/tests/JIT/opt/OSR/normalizeonload.csproj [new file with mode: 0644]