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

Issue 2347563004: [turbofan] Avoid large deopt blocks (Closed)

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

Description

[turbofan] Avoid large deopt blocks Treat allocation of splintered ranges differently, by optimizing for move counts (i.e. try to have less move counts), rather than optimizing for quality of moves (which is what normal allocation does). We can see reductions in code size in the benchmarks that measure it (e.g. Unity) BUG= Committed: https://crrev.com/33629651584b669c0bd24a9be7bad868f01ea809 Cr-Commit-Position: refs/heads/master@{#40178}

Patch Set 1 #

Patch Set 2 : Exclude splinters from pre-spilling #

Patch Set 3 : Exclude splinters from pre-spilling #

Patch Set 4 : A few more adjustments #

Patch Set 5 : A few more adjustments #

Total comments: 15

Patch Set 6 : feedback #

Total comments: 4

Patch Set 7 : refactoring #

Total comments: 2

Patch Set 8 : format #

Patch Set 9 : [turbofan] Avoid large deopt blocks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+137 lines, -36 lines) Patch
M src/compiler/instruction.h View 1 2 3 4 5 6 2 chunks +0 lines, -4 lines 0 comments Download
M src/compiler/instruction.cc View 1 1 chunk +1 line, -3 lines 0 comments Download
M src/compiler/register-allocator.h View 1 2 3 4 5 6 3 chunks +14 lines, -2 lines 0 comments Download
M src/compiler/register-allocator.cc View 1 2 3 4 5 6 7 8 10 chunks +122 lines, -27 lines 0 comments Download

Messages

Total messages: 45 (31 generated)
Mircea Trofin
4 years, 2 months ago (2016-09-27 18:40:31 UTC) #7
Mircea Trofin
gentle reminder.
4 years, 2 months ago (2016-09-29 01:06:26 UTC) #8
Jarin
https://codereview.chromium.org/2347563004/diff/80001/src/compiler/register-allocator.cc File src/compiler/register-allocator.cc (right): https://codereview.chromium.org/2347563004/diff/80001/src/compiler/register-allocator.cc#newcode590 src/compiler/register-allocator.cc:590: // to/from nit: merge the comment with the next ...
4 years, 2 months ago (2016-09-29 14:20:35 UTC) #9
Mircea Trofin
https://codereview.chromium.org/2347563004/diff/80001/src/compiler/register-allocator.cc File src/compiler/register-allocator.cc (right): https://codereview.chromium.org/2347563004/diff/80001/src/compiler/register-allocator.cc#newcode735 src/compiler/register-allocator.cc:735: other->FirstHintPosition() == nullptr) On 2016/09/29 14:20:35, Jarin wrote: > ...
4 years, 2 months ago (2016-09-30 05:16:52 UTC) #10
Jarin
I guess my general feedback is that I would be reluctant to land this without ...
4 years, 2 months ago (2016-09-30 13:23:04 UTC) #15
Mircea Trofin
On 2016/09/30 13:23:04, Jarin wrote: > I guess my general feedback is that I would ...
4 years, 2 months ago (2016-09-30 14:35:37 UTC) #16
Mircea Trofin
https://codereview.chromium.org/2347563004/diff/80001/src/compiler/register-allocator.cc File src/compiler/register-allocator.cc (right): https://codereview.chromium.org/2347563004/diff/80001/src/compiler/register-allocator.cc#newcode2840 src/compiler/register-allocator.cc:2840: // it will result in a move. For splinters, ...
4 years, 2 months ago (2016-09-30 14:45:48 UTC) #17
Mircea Trofin
4 years, 2 months ago (2016-10-05 21:37:54 UTC) #32
Jarin
https://codereview.chromium.org/2347563004/diff/160001/src/compiler/register-allocator.cc File src/compiler/register-allocator.cc (right): https://codereview.chromium.org/2347563004/diff/160001/src/compiler/register-allocator.cc#newcode2832 src/compiler/register-allocator.cc:2832: // The goal is to reduce the number of ...
4 years, 2 months ago (2016-10-07 11:10:53 UTC) #33
Mircea Trofin
https://codereview.chromium.org/2347563004/diff/160001/src/compiler/register-allocator.cc File src/compiler/register-allocator.cc (right): https://codereview.chromium.org/2347563004/diff/160001/src/compiler/register-allocator.cc#newcode2832 src/compiler/register-allocator.cc:2832: // The goal is to reduce the number of ...
4 years, 2 months ago (2016-10-11 03:36:50 UTC) #38
Jarin
lgtm
4 years, 2 months ago (2016-10-11 13:17:44 UTC) #39
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/2347563004/200001
4 years, 2 months ago (2016-10-11 15:00:54 UTC) #41
commit-bot: I haz the power
Committed patchset #9 (id:200001)
4 years, 2 months ago (2016-10-11 15:05:52 UTC) #43
commit-bot: I haz the power
4 years, 2 months ago (2016-10-11 15:06:17 UTC) #45
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/33629651584b669c0bd24a9be7bad868f01ea809
Cr-Commit-Position: refs/heads/master@{#40178}

Powered by Google App Engine
This is Rietveld 408576698