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

Issue 1810333003: [turbofan] Move frame elision logic to the end (Closed)

Created:
4 years, 9 months ago by Mircea Trofin
Modified:
4 years, 9 months ago
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] Move frame elision logic to the end We establish spilling blocks for ranges spilling only in deferred blocks really late - just before optimization. This means frame elision logic should happen after all dust has settled - even after optimization, since we may lose spills after that (this is not currently leveraged). Also enabled the elision algo for all functions, but forcing the first frame to construct a frame for non-code stub cases. This is preparing for a subsequent change where we guide frame construction/destruction solely based on the info produced by the register allocation pipeline. BUG= Committed: https://crrev.com/32a2ab0c724673961aa145ab63c79a29e6d28fa8 Cr-Commit-Position: refs/heads/master@{#35016}

Patch Set 1 : #

Total comments: 2

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -24 lines) Patch
M src/compiler/pipeline.cc View 1 2 4 chunks +8 lines, -8 lines 0 comments Download
M src/compiler/register-allocator.cc View 3 chunks +10 lines, -16 lines 0 comments Download

Messages

Total messages: 22 (10 generated)
Mircea Trofin
4 years, 9 months ago (2016-03-18 17:40:29 UTC) #5
Mircea Trofin
4 years, 9 months ago (2016-03-18 17:40:46 UTC) #6
danno
https://codereview.chromium.org/1810333003/diff/20001/src/compiler/frame-elider.cc File src/compiler/frame-elider.cc (right): https://codereview.chromium.org/1810333003/diff/20001/src/compiler/frame-elider.cc#newcode16 src/compiler/frame-elider.cc:16: if (descriptor != nullptr && descriptor->RequiresFrameAsIncoming()) { Passing in ...
4 years, 9 months ago (2016-03-18 18:13:00 UTC) #7
Mircea Trofin
https://codereview.chromium.org/1810333003/diff/20001/src/compiler/frame-elider.cc File src/compiler/frame-elider.cc (right): https://codereview.chromium.org/1810333003/diff/20001/src/compiler/frame-elider.cc#newcode16 src/compiler/frame-elider.cc:16: if (descriptor != nullptr && descriptor->RequiresFrameAsIncoming()) { On 2016/03/18 ...
4 years, 9 months ago (2016-03-18 18:22:31 UTC) #9
danno
https://codereview.chromium.org/1810333003/diff/60001/src/compiler/pipeline.cc File src/compiler/pipeline.cc (right): https://codereview.chromium.org/1810333003/diff/60001/src/compiler/pipeline.cc#newcode1498 src/compiler/pipeline.cc:1498: data_->sequence()->instruction_blocks()[0]->mark_needs_frame(); I think this extra marking makes more sense ...
4 years, 9 months ago (2016-03-22 09:27:20 UTC) #10
Mircea Trofin
On 2016/03/22 09:27:20, danno wrote: > https://codereview.chromium.org/1810333003/diff/60001/src/compiler/pipeline.cc > File src/compiler/pipeline.cc (right): > > https://codereview.chromium.org/1810333003/diff/60001/src/compiler/pipeline.cc#newcode1498 > ...
4 years, 9 months ago (2016-03-22 15:28:36 UTC) #11
Mircea Trofin
https://codereview.chromium.org/1810333003/diff/60001/src/compiler/pipeline.cc File src/compiler/pipeline.cc (right): https://codereview.chromium.org/1810333003/diff/60001/src/compiler/pipeline.cc#newcode1498 src/compiler/pipeline.cc:1498: data_->sequence()->instruction_blocks()[0]->mark_needs_frame(); On 2016/03/22 09:27:20, danno wrote: > I think ...
4 years, 9 months ago (2016-03-22 17:28:23 UTC) #12
danno
lgtm. Adding a compiler OWNER for a real lgtm.
4 years, 9 months ago (2016-03-22 17:43:45 UTC) #14
Benedikt Meurer
lgtm
4 years, 9 months ago (2016-03-23 06:06:03 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1810333003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1810333003/80001
4 years, 9 months ago (2016-03-23 07:55:07 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:80001)
4 years, 9 months ago (2016-03-23 08:16:41 UTC) #20
commit-bot: I haz the power
4 years, 9 months ago (2016-03-23 08:37:08 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/32a2ab0c724673961aa145ab63c79a29e6d28fa8
Cr-Commit-Position: refs/heads/master@{#35016}

Powered by Google App Engine
This is Rietveld 408576698