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

Issue 1551013002: [turbofan] optimize spills in defered blocks (Closed)

Created:
4 years, 11 months ago by Mircea Trofin
Modified:
4 years, 11 months 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

[turbofan] optimize spills in defered blocks Up to now, for ranges spilled in deferred blocks, we would spill every time a range would switch from using a register to spill slots. That can be redundant, leading to avoidable code size cost. This change addresses this issue, by performing the spills as early as possible. BUG= Committed: https://crrev.com/7c54dc33855b8ac31f26b309671f9b5481a74376 Cr-Commit-Position: refs/heads/master@{#33413}

Patch Set 1 : #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+301 lines, -220 lines) Patch
M src/compiler/live-range-separator.cc View 1 2 chunks +5 lines, -1 line 0 comments Download
M src/compiler/register-allocator.h View 1 6 chunks +29 lines, -5 lines 0 comments Download
M src/compiler/register-allocator.cc View 1 2 11 chunks +267 lines, -214 lines 0 comments Download

Messages

Total messages: 24 (17 generated)
Mircea Trofin
4 years, 11 months ago (2016-01-19 04:28:20 UTC) #13
Jarin
lgtm. https://codereview.chromium.org/1551013002/diff/220001/src/compiler/register-allocator.cc File src/compiler/register-allocator.cc (right): https://codereview.chromium.org/1551013002/diff/220001/src/compiler/register-allocator.cc#newcode3341 src/compiler/register-allocator.cc:3341: // We're doing a fill. Why is this ...
4 years, 11 months ago (2016-01-20 14:07:55 UTC) #15
Mircea Trofin
Fill -> reload https://codereview.chromium.org/1551013002/diff/220001/src/compiler/register-allocator.cc File src/compiler/register-allocator.cc (right): https://codereview.chromium.org/1551013002/diff/220001/src/compiler/register-allocator.cc#newcode3341 src/compiler/register-allocator.cc:3341: // We're doing a fill. On ...
4 years, 11 months ago (2016-01-20 15:57:08 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1551013002/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1551013002/240001
4 years, 11 months ago (2016-01-20 15:57:27 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:240001)
4 years, 11 months ago (2016-01-20 16:31:23 UTC) #21
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/7c54dc33855b8ac31f26b309671f9b5481a74376 Cr-Commit-Position: refs/heads/master@{#33413}
4 years, 11 months ago (2016-01-20 16:31:57 UTC) #23
Jarin
4 years, 11 months ago (2016-01-21 12:06:04 UTC) #24
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:240001) has been created in
https://codereview.chromium.org/1612013002/ by jarin@chromium.org.

The reason for reverting is: Regresses lots of benchmarks:
https://crbug.com/579900.

Powered by Google App Engine
This is Rietveld 408576698