Fix spill check for struct lclVars (dotnet/coreclr#23570)
authorCarol Eidt <carol.eidt@microsoft.com>
Tue, 2 Apr 2019 22:54:26 +0000 (15:54 -0700)
committerGitHub <noreply@github.com>
Tue, 2 Apr 2019 22:54:26 +0000 (15:54 -0700)
commitaa45b2557af5658aeb08ae095fa1c8779a2dec74
tree1098ca238764df492af7190bb8c267c3d61b37f8
parent952b41098e4fd0b82cde47648867ee79f9544bbb
Fix spill check for struct lclVars (dotnet/coreclr#23570)

* Fix spill check for struct lclVars

With the 1st class struct changes, the `SPILL_APPEND` check for the case of an assignment to a lclVar needs to handle block ops as well as lclVar lhs.

Fix dotnet/coreclr#23545

Commit migrated from https://github.com/dotnet/coreclr/commit/f036d2339b030258bf31bc73ebc23f553744fa04
src/coreclr/src/jit/importer.cpp
src/coreclr/tests/issues.targets
src/coreclr/tests/src/JIT/Regression/JitBlue/GitHub_23545/GitHub_23545.cs [new file with mode: 0644]
src/coreclr/tests/src/JIT/Regression/JitBlue/GitHub_23545/GitHub_23545.csproj [new file with mode: 0644]