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

Issue 2139593002: [turbofan] Move TryCloneBranch in the EffectControlLinearizer pass. (Closed)

Created:
4 years, 5 months ago by epertoso
Modified:
4 years, 5 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] Move TryCloneBranch in the EffectControlLinearizer pass. When trying to clone a branch, the ControlFlowOptimizer gave up as soon as it found a Phi/EffectPhi node that could not be placed directly below the IfTrue or IfFalse control paths. Moving the step in the EffectControlLinearizer phase, after the first schedule, works around the problem by looking at the successor blocks. BUG= Committed: https://crrev.com/60c95d85ab3468df93338c35f1841dc2ed3dfd1f Cr-Commit-Position: refs/heads/master@{#37687}

Patch Set 1 : First version #

Patch Set 2 : Update #

Total comments: 6

Patch Set 3 : Update #

Total comments: 2

Patch Set 4 : Update. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+288 lines, -195 lines) Patch
M src/compiler/control-flow-optimizer.cc View 1 chunk +0 lines, -136 lines 0 comments Download
M src/compiler/effect-control-linearizer.cc View 1 2 3 9 chunks +217 lines, -31 lines 0 comments Download
M test/unittests/compiler/control-flow-optimizer-unittest.cc View 1 chunk +0 lines, -28 lines 0 comments Download
M test/unittests/compiler/effect-control-linearizer-unittest.cc View 2 chunks +71 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (16 generated)
epertoso
PTAL: this feel hackish to me, but it works. Running the benchmarks locally, it doesn't ...
4 years, 5 months ago (2016-07-11 13:03:19 UTC) #10
Benedikt Meurer
Still a bit rough around the edges, but looking good in general. First round of ...
4 years, 5 months ago (2016-07-12 03:16:15 UTC) #13
epertoso
https://codereview.chromium.org/2139593002/diff/40001/src/compiler/effect-control-linearizer.cc File src/compiler/effect-control-linearizer.cc (right): https://codereview.chromium.org/2139593002/diff/40001/src/compiler/effect-control-linearizer.cc#newcode45 src/compiler/effect-control-linearizer.cc:45: BasicBlock* from; On 2016/07/12 at 03:16:14, Benedikt Meurer wrote: ...
4 years, 5 months ago (2016-07-12 10:14:44 UTC) #14
Benedikt Meurer
LGTM from my side.
4 years, 5 months ago (2016-07-12 12:46:16 UTC) #16
Jarin
lgtm https://codereview.chromium.org/2139593002/diff/60001/src/compiler/effect-control-linearizer.cc File src/compiler/effect-control-linearizer.cc (right): https://codereview.chromium.org/2139593002/diff/60001/src/compiler/effect-control-linearizer.cc#newcode446 src/compiler/effect-control-linearizer.cc:446: } break; The break should go into the ...
4 years, 5 months ago (2016-07-12 12:58:53 UTC) #17
epertoso
https://codereview.chromium.org/2139593002/diff/60001/src/compiler/effect-control-linearizer.cc File src/compiler/effect-control-linearizer.cc (right): https://codereview.chromium.org/2139593002/diff/60001/src/compiler/effect-control-linearizer.cc#newcode446 src/compiler/effect-control-linearizer.cc:446: } break; On 2016/07/12 at 12:58:53, Jarin wrote: > ...
4 years, 5 months ago (2016-07-12 14:59:01 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2139593002/100001
4 years, 5 months ago (2016-07-12 14:59:17 UTC) #22
commit-bot: I haz the power
Committed patchset #4 (id:100001)
4 years, 5 months ago (2016-07-12 15:22:20 UTC) #23
commit-bot: I haz the power
4 years, 5 months ago (2016-07-12 15:23:46 UTC) #25
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/60c95d85ab3468df93338c35f1841dc2ed3dfd1f
Cr-Commit-Position: refs/heads/master@{#37687}

Powered by Google App Engine
This is Rietveld 408576698