Uh oh!
There was an error while loading. Please reload this page.
ARM64 - Do not emit possible DIV_BY_ZERO/OVERFLOW exception blocks for non-zero/non-(negative one) constants - #68945
Conversation
ghost
commented
May 6, 2022
Tagging subscribers to this area: @JulieLeeMSFT Issue DetailsDescription Acceptance Criteria
|
Uh oh!
There was an error while loading. Please reload this page.
TIHan
commented
May 11, 2022
@dotnet/jit-contrib PR is ready. I don't think there is anything else to be done here. |
BruceForstall
left a comment
There was a problem hiding this comment.
Does the -1 case show up in diffs? If not, can you add a test case?
If the constant was -1, we shouldn't see a diff as the overflow block will still be emitted. What we will see is the regression diffs from this: #68885 (comment) |
TIHan
commented
May 12, 2022
/azp run runtime-coreclr |
|
No pipelines are associated with this pull request. |
Description
I noticed that we do not have to emit DIV_BY_ZERO/OVERFLOW exceptions if we know the second operand is a non-zero/non-(negative) integer constant respectively.
Acceptance Criteria