ARM64 - Do not emit possible DIV_BY_ZERO/OVERFLOW exception blocks for non-zero/non...
authorWill Smith <lol.tihan@gmail.com>
Wed, 18 May 2022 08:03:39 +0000 (01:03 -0700)
committerGitHub <noreply@github.com>
Wed, 18 May 2022 08:03:39 +0000 (01:03 -0700)
commit6425a15f11444d959fa553d4faf396605a50c02d
tree4aa738c22930730c4688257aad54f9df60257f93
parent6e4eba8c98f4e05ece31a883dc23076a78f7c7b9
ARM64 - Do not emit possible DIV_BY_ZERO/OVERFLOW exception blocks for non-zero/non-(negative one) constants (#68945)

* Do not emit possible DIV_BY_ZERO exception for non-zero constants

* Added overflow check

* Added second divzero check change

* Update morph.cpp

* Update morph.cpp
src/coreclr/jit/morph.cpp