Enregister EH var that are single def (#47307)
authorKunal Pathak <Kunal.Pathak@microsoft.com>
Tue, 9 Mar 2021 21:58:16 +0000 (13:58 -0800)
committerGitHub <noreply@github.com>
Tue, 9 Mar 2021 21:58:16 +0000 (13:58 -0800)
commit24b02289c7a6c5c731d392a43abb1981f59643e7
tree6ecc66781a604236acc894b48beccb2f0b6a1c51
parentccf2de0d52a2776f3503cc6c577cfe8c2cbc1bcb
Enregister EH var that are single def (#47307)

* Enable EhWriteThry for SingleDef

* If EhWriteThru is enabled, DoNotEnregister if variable is not singleDef

* Revert code in ExecutionContext.RunInternal

* Revert code in AsyncMethodBuildCore.Start()

* Make sure we do not reset lvSingleDef

* Consitent display of frame offset

misc change in superpmi.py

* Use lvEHWriteThruCandidate

* Do not enregister EH Var that has single use

* do not enregister simdtype

* add missing comments

* jit format

* revert an unintended change

* jit format

* Add missing comments
src/coreclr/jit/compiler.h
src/coreclr/jit/jitconfigvalues.h
src/coreclr/jit/lclvars.cpp
src/coreclr/jit/lsra.cpp
src/coreclr/jit/lsra.h
src/coreclr/jit/lsrabuild.cpp
src/coreclr/scripts/superpmi.py
src/libraries/System.Private.CoreLib/src/System/Runtime/CompilerServices/AsyncMethodBuilderCore.cs
src/libraries/System.Private.CoreLib/src/System/Threading/ExecutionContext.cs