Do not perform vector save/restore around call that will never return (#62662)
authorKunal Pathak <Kunal.Pathak@microsoft.com>
Mon, 13 Dec 2021 23:29:53 +0000 (15:29 -0800)
committerGitHub <noreply@github.com>
Mon, 13 Dec 2021 23:29:53 +0000 (15:29 -0800)
commita7ae08b33c48f99ea33dd500cf5f246f8db22a53
tree88d8fd34a02706d41ee542d5d8ba33c107717fc9
parent4a4884099ae3fee758da34cc1f01531396f01753
Do not perform vector save/restore around call that will never return (#62662)

* Do not perform vector save/restore around call that will never return

* First check if tree is a call

* Use the IsNoReturn() method
src/coreclr/jit/lsra.cpp
src/coreclr/jit/lsrabuild.cpp