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

Issue 899433005: [turbofan] Split pure nodes in the scheduler if beneficial. (Closed)

Created:
5 years, 10 months ago by Benedikt Meurer
Modified:
5 years, 10 months ago
Reviewers:
Jarin
CC:
Michael Starzinger, v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan] Split pure nodes in the scheduler if beneficial. If a (pure) node has two or more uses, but there exists a path from the common dominator of these uses to end, which does not contain a use, then we split the node such that no unnecessary computation takes place. Note however, that this only applies if the node cannot be hoisted out of a loop. BUG=v8:3864 LOG=n R=jarin@chromium.org Committed: https://chromium.googlesource.com/v8/v8/+/d8cfbc633d6f2fcc7016dfb8db8c3f7636c3151e

Patch Set 1 #

Patch Set 2 : Tests #

Total comments: 4

Patch Set 3 : comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+227 lines, -28 lines) Patch
M src/compiler.h View 2 chunks +6 lines, -1 line 0 comments Download
M src/compiler.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/common-operator.cc View 1 chunk +6 lines, -5 lines 0 comments Download
M src/compiler/pipeline.cc View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M src/compiler/scheduler.h View 5 chunks +11 lines, -2 lines 0 comments Download
M src/compiler/scheduler.cc View 1 2 7 chunks +138 lines, -15 lines 0 comments Download
M src/flag-definitions.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A test/mjsunit/asm/redundancy1.js View 1 1 chunk +26 lines, -0 lines 0 comments Download
A test/mjsunit/asm/redundancy2.js View 1 1 chunk +29 lines, -0 lines 0 comments Download
M test/unittests/compiler/scheduler-unittest.cc View 4 chunks +5 lines, -4 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
Benedikt Meurer
5 years, 10 months ago (2015-02-03 13:39:37 UTC) #1
Benedikt Meurer
Jaro: PTAL Michi: FYI
5 years, 10 months ago (2015-02-03 13:40:10 UTC) #2
Jarin
LGTM with nits. Just for the record, I am not crazy about using if (!x) ...
5 years, 10 months ago (2015-02-03 14:27:06 UTC) #3
Benedikt Meurer
Thanks, issues addressed. https://codereview.chromium.org/899433005/diff/20001/src/compiler/scheduler.cc File src/compiler/scheduler.cc (right): https://codereview.chromium.org/899433005/diff/20001/src/compiler/scheduler.cc#newcode1354 src/compiler/scheduler.cc:1354: BasicBlock* block = marking_queue_.front(); On 2015/02/03 ...
5 years, 10 months ago (2015-02-03 14:32:22 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/899433005/40001
5 years, 10 months ago (2015-02-03 14:33:05 UTC) #6
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/d8cfbc633d6f2fcc7016dfb8db8c3f7636c3151e Cr-Commit-Position: refs/heads/master@{#26404}
5 years, 10 months ago (2015-02-03 14:51:17 UTC) #8
Benedikt Meurer
5 years, 10 months ago (2015-02-03 14:51:19 UTC) #9
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
d8cfbc633d6f2fcc7016dfb8db8c3f7636c3151e (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698