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

Issue 1811333002: Ensure Schedules generated by the RawMachineAssembler are in edge-split form (Closed)

Created:
4 years, 9 months ago by danno
Modified:
4 years, 9 months ago
CC:
v8-reviews_googlegroups.com, Mircea Trofin
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Ensure Schedules generated by the RawMachineAssembler are in edge-split form This CL adds an extra pass before calculating the special RPO order in the custom RawMachineAssembler pipeline that walks through the schedule and inserts extra blocks to guarantee that the control flow graph is in split edge form. It also propagates deferred block marks forward to these new blocks if appropriate. Committed: https://crrev.com/a827400025be77a75880b1255a269df52dca103d Cr-Commit-Position: refs/heads/master@{#35014}

Patch Set 1 #

Patch Set 2 : It works #

Patch Set 3 : Make sure it works for switches #

Patch Set 4 : Also respect deferred->not deferred block edges #

Patch Set 5 : Revert unnecessary changes #

Patch Set 6 : Added and fixed tests #

Total comments: 8

Patch Set 7 : Review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -6 lines) Patch
M src/compiler/raw-machine-assembler.cc View 1 2 3 4 5 6 2 chunks +15 lines, -2 lines 0 comments Download
M src/compiler/schedule.h View 1 2 2 chunks +7 lines, -0 lines 0 comments Download
M src/compiler/schedule.cc View 1 2 3 4 5 6 3 chunks +75 lines, -4 lines 0 comments Download
M test/cctest/compiler/test-code-stub-assembler.cc View 1 2 3 4 5 1 chunk +30 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
danno
PTAL. Note that even though I verified through another CL I'm working on, I will ...
4 years, 9 months ago (2016-03-18 15:04:12 UTC) #3
danno
Tests added, I think this is ready to go. Please take a look.
4 years, 9 months ago (2016-03-18 18:44:24 UTC) #4
titzer
https://codereview.chromium.org/1811333002/diff/100001/src/compiler/instruction-selector.cc File src/compiler/instruction-selector.cc (right): https://codereview.chromium.org/1811333002/diff/100001/src/compiler/instruction-selector.cc#newcode810 src/compiler/instruction-selector.cc:810: // The scheduler may have inserted a split-edge block ...
4 years, 9 months ago (2016-03-21 08:06:03 UTC) #5
danno
Feedback addressed. Please take another look. https://codereview.chromium.org/1811333002/diff/100001/src/compiler/instruction-selector.cc File src/compiler/instruction-selector.cc (right): https://codereview.chromium.org/1811333002/diff/100001/src/compiler/instruction-selector.cc#newcode810 src/compiler/instruction-selector.cc:810: // The scheduler ...
4 years, 9 months ago (2016-03-22 07:53:44 UTC) #6
titzer
On 2016/03/22 07:53:44, danno wrote: > Feedback addressed. Please take another look. > > https://codereview.chromium.org/1811333002/diff/100001/src/compiler/instruction-selector.cc ...
4 years, 9 months ago (2016-03-23 07:27:14 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1811333002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1811333002/120001
4 years, 9 months ago (2016-03-23 07:32:26 UTC) #9
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 9 months ago (2016-03-23 07:34:44 UTC) #11
commit-bot: I haz the power
4 years, 9 months ago (2016-03-23 07:37:31 UTC) #13
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/a827400025be77a75880b1255a269df52dca103d
Cr-Commit-Position: refs/heads/master@{#35014}

Powered by Google App Engine
This is Rietveld 408576698