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

Issue 1583213003: [turbofan] Fix bugs in escape analysis. (Closed)

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

Description

[turbofan] Improve escape analysis. * Treat Select nodes as escaping * Correctly void virtual field information after a store to a non-const index * Add a shortcut if all allocates escape * Add a shortcut if no allocates are discovered * Only reduce FrameState/StateValues nodes if they have virtual allocates as input (transitively) * Fix bug in FrameState/StateValues duplication * Add check to verifier: First 3 inputs of FrameState must be StateValues R=mstarzinger@chromium.org BUG=v8:4586 LOG=n Committed: https://crrev.com/4efbeac115d9d23dc602896684dbb9ef1375142c Cr-Commit-Position: refs/heads/master@{#33406}

Patch Set 1 #

Patch Set 2 : Remove staging #

Patch Set 3 : Fix bug #

Patch Set 4 : Performance improvements #

Patch Set 5 : Fix signedness #

Patch Set 6 : Remove printf #

Patch Set 7 : Fix bug #

Patch Set 8 : Disable load/store elimination for escaping nodes #

Patch Set 9 : Improvements #

Patch Set 10 : More improvements #

Patch Set 11 : Make IsVirtual(NodeId) private #

Patch Set 12 : OMG fix #

Total comments: 5

Patch Set 13 : Fix oversight #

Patch Set 14 : Handle stores to non-const index correctly #

Patch Set 15 : Add unittest #

Patch Set 16 : Rebase #

Patch Set 17 : Unstage #

Unified diffs Side-by-side diffs Delta from patch set Stats (+247 lines, -131 lines) Patch
M src/compiler/escape-analysis.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -0 lines 0 comments Download
M src/compiler/escape-analysis.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 21 chunks +73 lines, -43 lines 0 comments Download
M src/compiler/escape-analysis-reducer.h View 1 2 3 3 chunks +8 lines, -2 lines 0 comments Download
M src/compiler/escape-analysis-reducer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 7 chunks +82 lines, -62 lines 0 comments Download
M src/compiler/pipeline.cc View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M src/compiler/verifier.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +8 lines, -1 line 0 comments Download
M test/unittests/compiler/escape-analysis-unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 12 chunks +72 lines, -23 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 12 (7 generated)
sigurds
Thanks for agreeing to review, jarin. I have added some comments to make it more ...
4 years, 11 months ago (2016-01-18 12:13:17 UTC) #4
Jarin
lgtm. Thanks!
4 years, 11 months ago (2016-01-20 12:59:13 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1583213003/320001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1583213003/320001
4 years, 11 months ago (2016-01-20 13:03:28 UTC) #8
commit-bot: I haz the power
Committed patchset #17 (id:320001)
4 years, 11 months ago (2016-01-20 13:25:26 UTC) #10
commit-bot: I haz the power
4 years, 11 months ago (2016-01-20 13:26:37 UTC) #12
Message was sent while issue was closed.
Patchset 17 (id:??) landed as
https://crrev.com/4efbeac115d9d23dc602896684dbb9ef1375142c
Cr-Commit-Position: refs/heads/master@{#33406}

Powered by Google App Engine
This is Rietveld 408576698