JIT: make sure to set compLongUsed during struct promotion (#32702)
authorAndy Ayers <andya@microsoft.com>
Mon, 24 Feb 2020 19:31:15 +0000 (11:31 -0800)
committerGitHub <noreply@github.com>
Mon, 24 Feb 2020 19:31:15 +0000 (11:31 -0800)
commit032e8dbd0ca5aee045a41ff78e3c0244d3ec3b51
tree5e73d4cbb903daf3f109bf3d4d2b62a92accdfd7
parent1905bde27967bff71c95ec5cbf2e099d80dce5f4
JIT: make sure to set compLongUsed during struct promotion (#32702)

If we're promoting a long field, make sure `compLongUsed` gets set.
Otherwise we may fail to properly decompose a long later on.

Fixes #32059.
src/coreclr/src/jit/lclvars.cpp
src/coreclr/tests/src/JIT/Regression/JitBlue/Runtime_32059/Runtime_32059.il [new file with mode: 0644]
src/coreclr/tests/src/JIT/Regression/JitBlue/Runtime_32059/Runtime_32059.ilproj [new file with mode: 0644]