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

Issue 1469743002: [turbofan] No prespill when having sufficient registers (Closed)

Created:
5 years, 1 month ago by Mircea Trofin
Modified:
5 years ago
Reviewers:
Benedikt Meurer, Jarin
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

We can avoid spilling live ranges with spill ranges when we have sufficient physical registers for all the virtual registers. This should come in handy for frame elision. There, I noticed that even for very small functions (==very few virtual registers), because we spill the context/function marker ranges, we lose the frame elision opportunity. There is a subsequent change needed to fully help frame elision - decoupling spilling of context & function marker from prologue. BUG= Committed: https://crrev.com/c3e6048cdee9cc289f472e205ca7058c654e2f7c Cr-Commit-Position: refs/heads/master@{#32221}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M src/compiler/register-allocator.cc View 1 chunk +2 lines, -1 line 1 comment Download

Messages

Total messages: 9 (3 generated)
Mircea Trofin
5 years, 1 month ago (2015-11-23 05:37:53 UTC) #3
Jarin
lgtm, although it seems we should do better, somehow. https://codereview.chromium.org/1469743002/diff/1/src/compiler/register-allocator.cc File src/compiler/register-allocator.cc (right): https://codereview.chromium.org/1469743002/diff/1/src/compiler/register-allocator.cc#newcode2436 src/compiler/register-allocator.cc:2436: ...
5 years ago (2015-11-24 10:17:36 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1469743002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1469743002/1
5 years ago (2015-11-24 16:18:56 UTC) #6
Mircea Trofin
On 2015/11/24 10:17:36, Jarin wrote: > lgtm, although it seems we should do better, somehow. ...
5 years ago (2015-11-24 16:25:34 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years ago (2015-11-24 16:47:57 UTC) #8
commit-bot: I haz the power
5 years ago (2015-11-24 16:48:11 UTC) #9
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/c3e6048cdee9cc289f472e205ca7058c654e2f7c
Cr-Commit-Position: refs/heads/master@{#32221}

Powered by Google App Engine
This is Rietveld 408576698