JIT: Skip LSRA inserted nodes in gcIsWriteBarrierCandidate (#81423)
authorJakob Botsch Nielsen <Jakob.botsch.nielsen@gmail.com>
Tue, 31 Jan 2023 16:54:22 +0000 (17:54 +0100)
committerGitHub <noreply@github.com>
Tue, 31 Jan 2023 16:54:22 +0000 (17:54 +0100)
commitbda8c8dae5354302803f2f2b6393108a9eec8c61
tree617815f0f521a961b6a71bea38cfd1eafb7648cd
parentd7d154d7e25b5a4472b75c963b0a73dc23f5fb9b
JIT: Skip LSRA inserted nodes in gcIsWriteBarrierCandidate (#81423)

gcIsWriteBarrierCandidate is expected to return the same results during
LSRA and during codegen, so it needs to skip GT_COPY and GT_RELOAD
inserted on top of the data node.

Fix #77141
Fix #77143
src/coreclr/jit/gcinfo.cpp