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

Issue 1527203002: [turbofan] fine grained move operand merge optimization (Closed)

Created:
5 years 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

If all the predecessors of a node have, at the last gap, the exact same moves, we move those to the node, and remove them from the predecessors ("merge" them to the common node). If only some of the moves are common, we don't do anything. This is what this change addresses. The bug linked below should be addressed by this change. The only difference in codegen before/after the change that introduced the bug was un-merged moves. BUG=chromium:549262 LOG=N Committed: https://crrev.com/78b55f2ebc7722c28b7c7f8b65c5402c1062ebac Cr-Commit-Position: refs/heads/master@{#33481}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 4

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+132 lines, -7 lines) Patch
M src/compiler/move-optimizer.cc View 1 2 3 4 5 6 7 3 chunks +56 lines, -7 lines 0 comments Download
M test/unittests/compiler/move-optimizer-unittest.cc View 1 2 3 1 chunk +76 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (7 generated)
Mircea Trofin
4 years, 11 months ago (2016-01-25 03:51:28 UTC) #4
Jarin
lgtm https://codereview.chromium.org/1527203002/diff/120001/src/compiler/move-optimizer.cc File src/compiler/move-optimizer.cc (right): https://codereview.chromium.org/1527203002/diff/120001/src/compiler/move-optimizer.cc#newcode218 src/compiler/move-optimizer.cc:218: if (pred->SuccessorCount() > 1) return; Does this really ...
4 years, 11 months ago (2016-01-25 05:23:55 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1527203002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1527203002/140001
4 years, 11 months ago (2016-01-25 06:07:35 UTC) #8
Mircea Trofin
https://codereview.chromium.org/1527203002/diff/120001/src/compiler/move-optimizer.cc File src/compiler/move-optimizer.cc (right): https://codereview.chromium.org/1527203002/diff/120001/src/compiler/move-optimizer.cc#newcode218 src/compiler/move-optimizer.cc:218: if (pred->SuccessorCount() > 1) return; On 2016/01/25 05:23:55, Jarin ...
4 years, 11 months ago (2016-01-25 06:07:38 UTC) #9
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 11 months ago (2016-01-25 06:32:23 UTC) #11
commit-bot: I haz the power
4 years, 11 months ago (2016-01-25 06:33:20 UTC) #13
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/78b55f2ebc7722c28b7c7f8b65c5402c1062ebac
Cr-Commit-Position: refs/heads/master@{#33481}

Powered by Google App Engine
This is Rietveld 408576698