Avoid over-constrained delayed-use register case
authorCarol Eidt <carol.eidt@microsoft.com>
Thu, 27 Apr 2017 22:28:17 +0000 (15:28 -0700)
committerCarol Eidt <carol.eidt@microsoft.com>
Fri, 28 Apr 2017 15:55:27 +0000 (08:55 -0700)
commit1b5ec390dde02567f2e2f504eefe917f779fad38
tree90bc57a16d0155188401415106a408416760f6c6
parentd7ed783a0c8a44692212afec9efa651aba33a957
Avoid over-constrained delayed-use register case

When a node has a delayed-use register (either due to an RMW def or due to an internalRegDelayFree),
if its result has a fixed-use, don't propagate the register constraint to the def, because there's
no associated fixed-reference to ensure that it will not be used by the delay-free register.

Fix dotnet/coreclr#11141

Commit migrated from https://github.com/dotnet/coreclr/commit/df3c59c17507f0bb602c2e352a9ca549edaaac49
src/coreclr/src/jit/lsra.cpp