Chained comparison of two integers against a constant is not coalesced #101347
Labels
area-CodeGen-coreclr
CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
help wanted
[up-for-grabs] Good issue for external contributors
in-pr
There is an active PR which will close this issue when it is merged
tenet-performance
Performance related issue
Milestone
Description
Given the snippet
.NET emits
While Clang emits
It would be nice if JIT/ILC could emit branchless comparison for such patterns.
Configuration
.NET 8.0.3
Regression?
No
The text was updated successfully, but these errors were encountered: