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

Issue 2431563002: [turbofan] Track multiple maps for LoadElimination. (Closed)

Created:
4 years, 2 months ago by Benedikt Meurer
Modified:
3 years, 11 months ago
Reviewers:
Jarin
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan] Track multiple maps for LoadElimination. Store maps on the CheckMaps operator instead of burning inputs for the individual maps. Use the same data structure (the ZoneHandleSet) in the LoadElimination to track multiple maps per object. BUG=v8:5267 R=jarin@chromium.org Review-Url: https://codereview.chromium.org/2431563002 Cr-Commit-Position: refs/heads/master@{#42010} Committed: https://chromium.googlesource.com/v8/v8/+/45aa13514b1997353a9d0bfbeaff9d4776c20d2a

Patch Set 1 #

Total comments: 3

Patch Set 2 : REBASE #

Patch Set 3 : Fixes. #

Patch Set 4 : Fixes. TransitionElementsKind. #

Patch Set 5 : REBASE #

Total comments: 2

Patch Set 6 : REBASE. Address comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+558 lines, -157 lines) Patch
M BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/effect-control-linearizer.cc View 1 2 3 4 5 3 chunks +7 lines, -5 lines 0 comments Download
M src/compiler/js-builtin-reducer.cc View 1 2 3 4 3 chunks +15 lines, -14 lines 0 comments Download
M src/compiler/js-global-object-specialization.cc View 1 1 chunk +3 lines, -3 lines 0 comments Download
M src/compiler/js-inlining.cc View 1 1 chunk +4 lines, -5 lines 0 comments Download
M src/compiler/js-native-context-specialization.cc View 1 2 3 4 5 6 chunks +24 lines, -30 lines 0 comments Download
M src/compiler/load-elimination.h View 1 5 chunks +55 lines, -0 lines 0 comments Download
M src/compiler/load-elimination.cc View 1 2 3 16 chunks +183 lines, -77 lines 0 comments Download
M src/compiler/simplified-operator.h View 1 2 3 4 5 4 chunks +46 lines, -5 lines 0 comments Download
M src/compiler/simplified-operator.cc View 1 2 3 4 5 4 chunks +54 lines, -16 lines 0 comments Download
M src/compiler/verifier.cc View 1 2 3 4 5 1 chunk +0 lines, -2 lines 0 comments Download
M src/v8.gyp View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A src/zone/zone-handle-set.h View 1 2 3 1 chunk +165 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (24 generated)
Benedikt Meurer
Hey Jaro, Here's the CL I mentioned yesterday. Really needs a lot of polish. -- ...
4 years, 2 months ago (2016-10-18 04:51:23 UTC) #1
Jarin
https://codereview.chromium.org/2431563002/diff/1/src/compiler/load-elimination.cc File src/compiler/load-elimination.cc (right): https://codereview.chromium.org/2431563002/diff/1/src/compiler/load-elimination.cc#newcode592 src/compiler/load-elimination.cc:592: if (object_maps.contains(maps)) return Replace(effect); Still confused. If I have ...
4 years, 1 month ago (2016-11-16 14:54:41 UTC) #2
Benedikt Meurer
https://codereview.chromium.org/2431563002/diff/1/src/compiler/load-elimination.cc File src/compiler/load-elimination.cc (right): https://codereview.chromium.org/2431563002/diff/1/src/compiler/load-elimination.cc#newcode592 src/compiler/load-elimination.cc:592: if (object_maps.contains(maps)) return Replace(effect); Done.
4 years ago (2016-12-21 08:36:49 UTC) #5
Benedikt Meurer
Hey Jaro, How do you like this version? Please take a look. Thanks, Benedikt
4 years ago (2016-12-22 08:28:12 UTC) #18
Jarin
lgtm, although ZoneHandleSet still looks like premature optimization to me. Any numbers to support the ...
3 years, 11 months ago (2017-01-01 19:27:35 UTC) #21
Benedikt Meurer
On 2017/01/01 19:27:35, Jarin wrote: > lgtm, although ZoneHandleSet still looks like premature optimization to ...
3 years, 11 months ago (2017-01-02 05:14:01 UTC) #22
Benedikt Meurer
https://codereview.chromium.org/2431563002/diff/80001/src/compiler/js-native-context-specialization.cc File src/compiler/js-native-context-specialization.cc (right): https://codereview.chromium.org/2431563002/diff/80001/src/compiler/js-native-context-specialization.cc#newcode1655 src/compiler/js-native-context-specialization.cc:1655: // TODO(turbofan): This could be more efficient. On 2017/01/01 ...
3 years, 11 months ago (2017-01-02 12:32:58 UTC) #24
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/2431563002/100001
3 years, 11 months ago (2017-01-02 12:35:20 UTC) #30
commit-bot: I haz the power
3 years, 11 months ago (2017-01-02 13:03:07 UTC) #33
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/v8/v8/+/45aa13514b1997353a9d0bfbeaff9d4776c...

Powered by Google App Engine
This is Rietveld 408576698