-
Notifications
You must be signed in to change notification settings - Fork 958
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
idiom_analysis: Disable idiom AShr(X,shift) <-> SDiv(X,shift) (#724)
Closes #724 Disables idiom that exchanged Pattern AShr(X,shift) into divistion SDiv(X, shift). This is because signed division is not equal to the arithmetic shift right all the time. Only when X is positive integer. Example: * AShr(0xA5A5A5A5A5A50020, 8) = 0xFFA5A5A5A5A5A500 * SDiv(0xA5A5A5A5A5A50020, 256) = 0xFFA5A5A5A5A5A501
- Loading branch information
Peter Kubov
committed
Aug 4, 2020
1 parent
a46f47b
commit 9a9c1d3
Showing
3 changed files
with
0 additions
and
29 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