-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve morphing of comparisons (#54204)
* Add SetIntegralValue helper to GenTreeIntCommon * Fix a potential CSE issue * Enable comparisons against GT_CNS_LNG * Optimize unsigned compares with int/long.MaxValue Replace LE_UN/GT_UN(OP, int/long.MaxValue) with GE/LT(OP, 0) as that generates smaller code on all targets. * Relocate fgOptimizeRelationalComparisonWithConst So that it is next to fgOptimizeEqualityComparisonWithConst. Purely cosmetic change. * Use the fgUpdateConstTreeValueNumber helper * Fix formatting...
- Loading branch information
1 parent
4af0126
commit 96cb482
Showing
3 changed files
with
123 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters