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

Issue 681263004: Run ControlReducer early after graph building, then again later. (Closed)

Created:
6 years, 1 month ago by titzer
Modified:
6 years, 1 month ago
Reviewers:
Michael Starzinger
CC:
v8-dev
Project:
v8
Visibility:
Public.

Description

Run ControlReducer early after graph building, then again later. The justification for doing this is to reduce the size of the graph and therefore speedup later phases of compilation. The control reducer also obviates the need to run the PhiReducer, since it subsumes it. R=mstarzinger@chromium.org BUG= Committed: https://code.google.com/p/v8/source/detail?r=24986

Patch Set 1 #

Total comments: 5

Patch Set 2 : Addressed comments. #

Total comments: 2

Patch Set 3 : Fix the glitch. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -31 lines) Patch
M src/compiler/ast-graph-builder.cc View 1 2 chunks +26 lines, -3 lines 0 comments Download
M src/compiler/js-graph.h View 1 chunk +5 lines, -0 lines 0 comments Download
M src/compiler/pipeline.cc View 1 3 chunks +15 lines, -13 lines 0 comments Download
M src/compiler/scheduler.cc View 1 2 4 chunks +21 lines, -12 lines 0 comments Download
M test/cctest/compiler/test-scheduler.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M tools/push-to-trunk/test_scripts.py View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
titzer
6 years, 1 month ago (2014-10-28 17:35:05 UTC) #1
Michael Starzinger
LGTM. Just nits. https://codereview.chromium.org/681263004/diff/1/src/compiler/ast-graph-builder.cc File src/compiler/ast-graph-builder.cc (right): https://codereview.chromium.org/681263004/diff/1/src/compiler/ast-graph-builder.cc#newcode2064 src/compiler/ast-graph-builder.cc:2064: // TODO(titzer): this should be in ...
6 years, 1 month ago (2014-10-29 12:14:03 UTC) #2
titzer
https://codereview.chromium.org/681263004/diff/1/src/compiler/ast-graph-builder.cc File src/compiler/ast-graph-builder.cc (right): https://codereview.chromium.org/681263004/diff/1/src/compiler/ast-graph-builder.cc#newcode2076 src/compiler/ast-graph-builder.cc:2076: // XXX: other constants. On 2014/10/29 12:14:02, Michael Starzinger ...
6 years, 1 month ago (2014-10-29 15:17:09 UTC) #3
Michael Starzinger
LGTM, just one more nit. https://codereview.chromium.org/681263004/diff/20001/src/compiler/scheduler.cc File src/compiler/scheduler.cc (right): https://codereview.chromium.org/681263004/diff/20001/src/compiler/scheduler.cc#newcode259 src/compiler/scheduler.cc:259: FixNode(schedule_->end(), scheduler_->graph_->end()); nit: Can ...
6 years, 1 month ago (2014-10-29 15:23:21 UTC) #4
titzer
https://codereview.chromium.org/681263004/diff/20001/src/compiler/scheduler.cc File src/compiler/scheduler.cc (right): https://codereview.chromium.org/681263004/diff/20001/src/compiler/scheduler.cc#newcode259 src/compiler/scheduler.cc:259: FixNode(schedule_->end(), scheduler_->graph_->end()); On 2014/10/29 15:23:21, Michael Starzinger wrote: > ...
6 years, 1 month ago (2014-10-29 15:24:04 UTC) #5
titzer
6 years, 1 month ago (2014-10-29 15:27:38 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 manually as 24986 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698