-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AArch64] Use isKnownNonZero to optimize eligible compares to cmn and…
… ccmn (#96349) Summary: The problematic case for unsigned comparisons occurs only when the second argument is zero. The problematic case for signed comparisons occurs only when the second argument is the signed minimum value. We can use KnownBits to know when we don't have to worry about this. Source: https://devblogs.microsoft.com/oldnewthing/20210607-00/?p=105288 Test Plan: Reviewers: Subscribers: Tasks: Tags: Differential Revision: https://phabricator.intern.facebook.com/D60251645
- Loading branch information
1 parent
ee68c3e
commit 27ec0f1
Showing
3 changed files
with
476 additions
and
17 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
Oops, something went wrong.