[JIT] ARM64 - Fix Assertion failed 'node->OperIs(GT_DIV, GT_UDIV, GT_MOD)' during...
authorWill Smith <lol.tihan@gmail.com>
Wed, 3 May 2023 03:06:04 +0000 (20:06 -0700)
committerGitHub <noreply@github.com>
Wed, 3 May 2023 03:06:04 +0000 (20:06 -0700)
commit56eff9f52534ebb226323ed0bf7ea36bb4a227d5
treef4fabeaf23d1603ee48e6be81f75edcdb55fbff7
parent442141d696ee7d4ae54420974559e99738d753e6
[JIT] ARM64 - Fix Assertion failed 'node->OperIs(GT_DIV, GT_UDIV, GT_MOD)' during 'Lowering nodeinfo' (#85664)

* Rename LowerConstIntDivOrMode to TryLowerConstIntDivOrMod with an out parameter for the next node to lower

* Add test case

* Simplify test

* Add extra assert
src/coreclr/jit/lower.cpp
src/coreclr/jit/lower.h
src/tests/JIT/Regression/JitBlue/Runtime_85630/Runtime_85630.cs [new file with mode: 0644]
src/tests/JIT/Regression/JitBlue/Runtime_85630/Runtime_85630.csproj [new file with mode: 0644]