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

Issue 2087483003: [compiler] Introduce a simple store-store elimination, disabled by default. (Closed)

Created:
4 years, 6 months ago by bgeron
Modified:
4 years, 6 months ago
Reviewers:
Jarin
CC:
v8-reviews_googlegroups.com, Michael Hablich
Base URL:
https://chromium.googlesource.com/v8/v8.git@p1
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[compiler] Introduce a simple store-store elimination, disabled by default. R=jarin@chromium.org BUG= Committed: https://crrev.com/ee657f0bedffad1d5a44bbefa1d7cd78b3542ab7 Cr-Commit-Position: refs/heads/master@{#37220}

Patch Set 1 #

Total comments: 18

Patch Set 2 : Address most feedback but not all. Also, pull from origin/master which pollutes the diff view. #

Patch Set 3 : Un-pulled (rebased onto older master) for clearer diffs in codereview. Look at deltas from patch set 1. #

Patch Set 4 : (now with correct upstream in Git) #

Patch Set 5 : Address remaining feedback as discussed. Refactor. Use AllNodes instead of MarkingPreDFS. #

Patch Set 6 : Pull, with no conflicts #

Total comments: 8

Patch Set 7 : Address remaining concerns. #

Patch Set 8 : Explicitly promote constant argument of <<, to satisfy MSVC. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+325 lines, -0 lines) Patch
M BUILD.gn View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M src/compiler/pipeline.cc View 1 2 3 4 5 6 3 chunks +15 lines, -0 lines 0 comments Download
A src/compiler/store-store-elimination.h View 1 1 chunk +40 lines, -0 lines 0 comments Download
A src/compiler/store-store-elimination.cc View 1 2 3 4 5 6 7 1 chunk +264 lines, -0 lines 0 comments Download
M src/flag-definitions.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M src/v8.gyp View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (8 generated)
bgeron
Please take a look.
4 years, 6 months ago (2016-06-21 12:45:13 UTC) #1
Jarin
https://codereview.chromium.org/2087483003/diff/1/src/compiler/pipeline.cc File src/compiler/pipeline.cc (right): https://codereview.chromium.org/2087483003/diff/1/src/compiler/pipeline.cc#newcode1050 src/compiler/pipeline.cc:1050: NodeVector eligible(temp_zone); Could we move this code into the ...
4 years, 6 months ago (2016-06-21 13:28:33 UTC) #2
bgeron
https://codereview.chromium.org/2087483003/diff/1/src/compiler/pipeline.cc File src/compiler/pipeline.cc (right): https://codereview.chromium.org/2087483003/diff/1/src/compiler/pipeline.cc#newcode1050 src/compiler/pipeline.cc:1050: NodeVector eligible(temp_zone); On 2016/06/21 13:28:32, Jarin wrote: > Could ...
4 years, 6 months ago (2016-06-21 17:48:59 UTC) #3
bgeron
Please use the difference from patch set 1 to patch set 4 for re-reviewing. I ...
4 years, 6 months ago (2016-06-22 09:15:11 UTC) #4
bgeron
https://codereview.chromium.org/2087483003/diff/1/src/compiler/store-store-elimination.cc File src/compiler/store-store-elimination.cc (right): https://codereview.chromium.org/2087483003/diff/1/src/compiler/store-store-elimination.cc#newcode151 src/compiler/store-store-elimination.cc:151: // Try to insert. If it was present, this ...
4 years, 6 months ago (2016-06-22 18:00:58 UTC) #5
bgeron
Against your recommendation I added a method MachineType::IsWidestSize(void) in machine-type.h, because although SIMD types are ...
4 years, 6 months ago (2016-06-22 18:01:10 UTC) #6
bgeron
Need to fix upstream to satisfy the trybots; will do tomorrow.
4 years, 6 months ago (2016-06-22 18:04:00 UTC) #7
Jarin
lgtm https://codereview.chromium.org/2087483003/diff/100001/src/compiler/pipeline.cc File src/compiler/pipeline.cc (right): https://codereview.chromium.org/2087483003/diff/100001/src/compiler/pipeline.cc#newcode12 src/compiler/pipeline.cc:12: #include "src/compiler/all-nodes.h" You should not need to add ...
4 years, 6 months ago (2016-06-23 09:58:29 UTC) #8
bgeron
https://codereview.chromium.org/2087483003/diff/100001/src/compiler/pipeline.cc File src/compiler/pipeline.cc (right): https://codereview.chromium.org/2087483003/diff/100001/src/compiler/pipeline.cc#newcode12 src/compiler/pipeline.cc:12: #include "src/compiler/all-nodes.h" On 2016/06/23 09:58:28, Jarin wrote: > You ...
4 years, 6 months ago (2016-06-23 12:03:05 UTC) #9
bgeron
On 2016/06/23 12:03:05, bgeron wrote: > https://codereview.chromium.org/2087483003/diff/100001/src/compiler/pipeline.cc > File src/compiler/pipeline.cc (right): > > https://codereview.chromium.org/2087483003/diff/100001/src/compiler/pipeline.cc#newcode12 > ...
4 years, 6 months ago (2016-06-23 14:31:00 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2087483003/120001
4 years, 6 months ago (2016-06-23 14:31:17 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2087483003/140001
4 years, 6 months ago (2016-06-23 14:47:52 UTC) #18
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 6 months ago (2016-06-23 15:13:42 UTC) #20
commit-bot: I haz the power
4 years, 6 months ago (2016-06-23 15:17:54 UTC) #22
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/ee657f0bedffad1d5a44bbefa1d7cd78b3542ab7
Cr-Commit-Position: refs/heads/master@{#37220}

Powered by Google App Engine
This is Rietveld 408576698