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

Issue 1849603002: [turbofan] Effect linearization after representation inference. (Closed)

Created:
4 years, 8 months ago by Jarin
Modified:
4 years, 8 months ago
Reviewers:
Benedikt Meurer
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] Effect linearization after representation inference. This introduces a compiler pass that schedules the graph and re-wires effect chain according to the schedule. It also connects allocating representation changes to the effect chain, and removes the BeginRegion and EndRegion nodes - they should not be needed anymore because all effectful nodes should be already wired-in. This is an intermediate CL - the next step is to move lowering of the Change*ToTaggedEffect nodes to StateEffectIntroduction so that we do not have to introduce the effectful versions of nodes. Committed: https://crrev.com/b9e287c6d97e02ee46daa89c8f1b698d567cac6c Cr-Commit-Position: refs/heads/master@{#35565}

Patch Set 1 #

Patch Set 2 : Fix #

Patch Set 3 : Fix, mjsunit passing. #

Patch Set 4 : Attempt to fix other tests. #

Patch Set 5 : Fix unit test. #

Patch Set 6 : Rebase #

Patch Set 7 : Fix zones. #

Patch Set 8 : Fixes #

Patch Set 9 : Fix tests #

Patch Set 10 : Get rid of the effectful change operators #

Patch Set 11 : Unit test cleanup #

Patch Set 12 : Rename #

Patch Set 13 : Undo change lowering changes #

Patch Set 14 : Tweaks #

Patch Set 15 : Attempt to fix gn #

Total comments: 17

Patch Set 16 : Address review comments #

Patch Set 17 : Add flag #

Patch Set 18 : Tweaks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+884 lines, -3 lines) Patch
M BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -0 lines 0 comments Download
M src/compiler.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +8 lines, -1 line 0 comments Download
A src/compiler/effect-control-linearizer.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +80 lines, -0 lines 0 comments Download
A src/compiler/effect-control-linearizer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +492 lines, -0 lines 0 comments Download
M src/compiler/graph-reducer.cc View 1 2 3 4 5 6 7 1 chunk +5 lines, -1 line 0 comments Download
M src/compiler/pipeline.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 6 chunks +60 lines, -0 lines 0 comments Download
M src/compiler/schedule.cc View 1 chunk +18 lines, -1 line 0 comments Download
M src/compiler/scheduler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +8 lines, -0 lines 0 comments Download
A test/unittests/compiler/effect-control-linearizer-unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +208 lines, -0 lines 0 comments Download
M test/unittests/unittests.gyp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M tools/gyp/v8.gyp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (12 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1849603002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1849603002/80001
4 years, 8 months ago (2016-04-03 11:16:59 UTC) #3
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_android_arm_compile_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_android_arm_compile_rel/builds/15672) v8_linux64_avx2_rel on ...
4 years, 8 months ago (2016-04-03 11:20:50 UTC) #5
Jarin
Could you take a look, please?
4 years, 8 months ago (2016-04-03 20:27:41 UTC) #8
Jarin
Could you take another look, please?
4 years, 8 months ago (2016-04-16 07:38:01 UTC) #9
Jarin
On 2016/04/16 07:38:01, Jarin wrote: > Could you take another look, please? As far I ...
4 years, 8 months ago (2016-04-16 08:02:19 UTC) #10
Benedikt Meurer
https://codereview.chromium.org/1849603002/diff/280001/src/compiler/effect-control-linearizer.cc File src/compiler/effect-control-linearizer.cc (right): https://codereview.chromium.org/1849603002/diff/280001/src/compiler/effect-control-linearizer.cc#newcode105 src/compiler/effect-control-linearizer.cc:105: // The control node should be the first. DCHECK ...
4 years, 8 months ago (2016-04-18 04:34:18 UTC) #11
Jarin
https://codereview.chromium.org/1849603002/diff/280001/src/compiler/effect-control-linearizer.cc File src/compiler/effect-control-linearizer.cc (right): https://codereview.chromium.org/1849603002/diff/280001/src/compiler/effect-control-linearizer.cc#newcode105 src/compiler/effect-control-linearizer.cc:105: // The control node should be the first. On ...
4 years, 8 months ago (2016-04-18 07:53:33 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1849603002/340001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1849603002/340001
4 years, 8 months ago (2016-04-18 07:58:15 UTC) #14
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started by full ...
4 years, 8 months ago (2016-04-18 07:58:20 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1849603002/340001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1849603002/340001
4 years, 8 months ago (2016-04-18 08:05:07 UTC) #18
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started by full ...
4 years, 8 months ago (2016-04-18 08:05:10 UTC) #20
Benedikt Meurer
lgtm
4 years, 8 months ago (2016-04-18 08:11:41 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1849603002/340001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1849603002/340001
4 years, 8 months ago (2016-04-18 08:11:58 UTC) #23
commit-bot: I haz the power
Committed patchset #18 (id:340001)
4 years, 8 months ago (2016-04-18 08:28:41 UTC) #25
commit-bot: I haz the power
4 years, 8 months ago (2016-04-18 08:30:06 UTC) #27
Message was sent while issue was closed.
Patchset 18 (id:??) landed as
https://crrev.com/b9e287c6d97e02ee46daa89c8f1b698d567cac6c
Cr-Commit-Position: refs/heads/master@{#35565}

Powered by Google App Engine
This is Rietveld 408576698