Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Issue 2709423002: [compiler] Speculate a little more in SpeculativeShiftRightLogical. (Closed)

Created:
3 years, 10 months ago by neis
Modified:
3 years, 10 months ago
Reviewers:
Jarin
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[compiler] Speculate a little more in SpeculativeShiftRightLogical. If the RHS is 0 and we have Smi feedback, speculate that the result (the LHS) will continue to be in the Unsigned31 range. This helps us avoid converting the result to double when merging with Signed32. R=jarin@chromium.org BUG= Review-Url: https://codereview.chromium.org/2709423002 Cr-Commit-Position: refs/heads/master@{#43415} Committed: https://chromium.googlesource.com/v8/v8/+/42ded33b5babdfc96508664382cd80436ad2d563

Patch Set 1 #

Total comments: 1

Patch Set 2 : Address feedback. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -3 lines) Patch
M src/compiler/simplified-lowering.cc View 1 2 chunks +19 lines, -3 lines 0 comments Download
M test/mjsunit/compiler/shift-shr.js View 1 chunk +29 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (9 generated)
neis
3 years, 10 months ago (2017-02-23 08:58:29 UTC) #1
neis
PTAL
3 years, 10 months ago (2017-02-23 09:16:28 UTC) #5
Jarin
lgtm, thanks! https://codereview.chromium.org/2709423002/diff/1/src/compiler/simplified-lowering.cc File src/compiler/simplified-lowering.cc (right): https://codereview.chromium.org/2709423002/diff/1/src/compiler/simplified-lowering.cc#newcode1994 src/compiler/simplified-lowering.cc:1994: hint <= NumberOperationHint::kSigned32 && In other places, ...
3 years, 10 months ago (2017-02-24 10:56:05 UTC) #8
neis
On 2017/02/24 10:56:05, Jarin wrote: > lgtm, thanks! > > https://codereview.chromium.org/2709423002/diff/1/src/compiler/simplified-lowering.cc > File src/compiler/simplified-lowering.cc (right): ...
3 years, 10 months ago (2017-02-24 14:16:57 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2709423002/20001
3 years, 10 months ago (2017-02-24 14:17:33 UTC) #12
commit-bot: I haz the power
3 years, 10 months ago (2017-02-24 14:39:44 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/v8/v8/+/42ded33b5babdfc96508664382cd80436ad...

Powered by Google App Engine
This is Rietveld 408576698