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

Issue 1499143002: Improve escape analysis (Closed)

Created:
5 years ago by sigurds
Modified:
5 years ago
Reviewers:
Michael Starzinger
CC:
v8-reviews_googlegroups.com
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 This patch improves escape analysis and fixes bugs triggered by clusterfuzz. Impovements include: * Handling of LoadElement/StoreElement if index is a constant * Handling of JSStoreProperty: invalidate all information, as the store could have altered any field. * Treat phis that use an allocation as escaping * Improve resolution of replacements R=mstarzinger@chromium.org BUG=v8:4586 LOG=n Committed: https://crrev.com/5b5821142bafd94733ae4c817260a74e13fa1090 Cr-Commit-Position: refs/heads/master@{#32656}

Patch Set 1 : Fix bugs / reduce clusterfuzz noise #

Total comments: 4

Patch Set 2 : Treat escape correctly #

Patch Set 3 : Fix bug #

Unified diffs Side-by-side diffs Delta from patch set Stats (+366 lines, -136 lines) Patch
M src/compiler/escape-analysis.h View 1 3 chunks +17 lines, -2 lines 0 comments Download
M src/compiler/escape-analysis.cc View 1 2 25 chunks +313 lines, -106 lines 0 comments Download
M src/compiler/escape-analysis-reducer.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/compiler/escape-analysis-reducer.cc View 4 chunks +15 lines, -9 lines 0 comments Download
M test/mjsunit/compiler/escape-analysis-7.js View 1 chunk +10 lines, -9 lines 0 comments Download
A + test/mjsunit/compiler/escape-analysis-9.js View 1 chunk +7 lines, -6 lines 0 comments Download
M test/mjsunit/mjsunit.status View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 18 (11 generated)
sigurds
Please take a look
5 years ago (2015-12-04 13:22:13 UTC) #9
Michael Starzinger
https://codereview.chromium.org/1499143002/diff/60001/src/compiler/escape-analysis.cc File src/compiler/escape-analysis.cc (right): https://codereview.chromium.org/1499143002/diff/60001/src/compiler/escape-analysis.cc#newcode692 src/compiler/escape-analysis.cc:692: case IrOpcode::kJSStoreProperty: I don't think special handling the JSStore ...
5 years ago (2015-12-04 13:39:39 UTC) #10
sigurds
PTAL :) https://codereview.chromium.org/1499143002/diff/60001/src/compiler/escape-analysis.cc File src/compiler/escape-analysis.cc (right): https://codereview.chromium.org/1499143002/diff/60001/src/compiler/escape-analysis.cc#newcode692 src/compiler/escape-analysis.cc:692: case IrOpcode::kJSStoreProperty: On 2015/12/04 13:39:39, Michael Starzinger ...
5 years ago (2015-12-07 10:16:08 UTC) #11
Michael Starzinger
LGTM.
5 years ago (2015-12-07 13:03:04 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1499143002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1499143002/100001
5 years ago (2015-12-07 13:05:11 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:100001)
5 years ago (2015-12-07 13:28:58 UTC) #16
commit-bot: I haz the power
5 years ago (2015-12-07 13:29:14 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/5b5821142bafd94733ae4c817260a74e13fa1090
Cr-Commit-Position: refs/heads/master@{#32656}

Powered by Google App Engine
This is Rietveld 408576698