JIT: Missed optimization for integer x / y; x % y
#112774
Labels
area-CodeGen-coreclr
CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
For integers this is a common pattern
which currently generates (https://godbolt.org/z/nn3b4q57K):
div already gives quotient and remainder so it should only be computed once here (https://godbolt.org/z/qKb8qEqzv):
The text was updated successfully, but these errors were encountered: