Description[turbofan] Strength reduction for inline comparisons.
Perform strength reduction on machine operators with inline comparisons:
CMP & 1 => CMP
1 & CMP => CMP
CMP << 31 >> 31 => CMP
Also strength reduce the following constructs:
x + (0 - y) => x - y
(0 - y) + x => x - y
R=dcarney@chromium.org
Committed: https://crrev.com/dcf193f18cb76e60bf3fb978093eed93442d0430
Cr-Commit-Position: refs/heads/master@{#26817}
Patch Set 1 #
Messages
Total messages: 6 (1 generated)
|