Fix kill set of rep stos to include ECX
authorBruce Forstall <brucefo@microsoft.com>
Tue, 10 May 2016 23:43:55 +0000 (16:43 -0700)
committerBruce Forstall <brucefo@microsoft.com>
Tue, 10 May 2016 23:43:55 +0000 (16:43 -0700)
commit30522bb80b69736cfdc53e6a44f0caceb0acc242
tree42f776e141668d9da5e3cebc68583d1f27f06e2d
parent3c13acca371e5e18559fc6a030c1c0de333c1584
Fix kill set of rep stos to include ECX

There was a very strange condition in the existing code to only
conditionally include ECX in the kill set. I convinced myself that
for AMD64, this condition always holds in this code path (which
makes a lot more sense anyway), so I removed the condition, and
also made all this code execute for x86 as well.

Fixes dotnet/coreclr#4817

Commit migrated from https://github.com/dotnet/coreclr/commit/6e05fb4c01eeb133aa8683a581e5becab8d20b62
src/coreclr/src/jit/lsra.cpp
src/coreclr/tests/issues.targets