[release/6.0] Skip allocation for ZeroInit writeThru intervals (#58767)
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Tue, 7 Sep 2021 23:30:26 +0000 (16:30 -0700)
committerGitHub <noreply@github.com>
Tue, 7 Sep 2021 23:30:26 +0000 (16:30 -0700)
commit6eca241bcc6b60d9815e2566bb661a14c2eeccfb
tree7bd92a71b2a44efd515150d25240544b84bf94aa
parent3b6f9c6f4ec621cf2e7e5c5ddf80f20187b30fb4
[release/6.0] Skip allocation for ZeroInit writeThru intervals (#58767)

* Do not allocate register if ZeroInit/EHWriteThru

* Update the comments about zero-init heuristics

* jit format

Co-authored-by: Kunal Pathak <Kunal.Pathak@microsoft.com>
src/coreclr/jit/lclvars.cpp
src/coreclr/jit/lsra.cpp