Constrained mask should take into account busy registers (#85933)
authorKunal Pathak <Kunal.Pathak@microsoft.com>
Tue, 16 May 2023 21:04:05 +0000 (14:04 -0700)
committerGitHub <noreply@github.com>
Tue, 16 May 2023 21:04:05 +0000 (14:04 -0700)
commit17bf9b8dbbe5d68dcbc78de1e970da3bb3824dbc
tree0d5dc7f0895d800a47b5119ffabcd216ce98840a
parent0cfc81d8d09adf758096349a923bed01a253be4d
Constrained mask should take into account busy registers (#85933)

* NO MERGE

* Revert "NO MERGE"

This reverts commit 68657c6d26c47fbba5dfddbe0ba8157ed449a71b.

* Make sure constrained regMask doesn't include busy registers

* add the missing parameter

* fix superpmi failure

* fix the release errors

* review comment

* review comment

* use gtSkipReloadOrCopy()

* update the assert
src/coreclr/jit/codegenxarch.cpp
src/coreclr/jit/lsra.cpp
src/coreclr/jit/lsra.h
src/coreclr/jit/lsrabuild.cpp
src/coreclr/jit/lsraxarch.cpp