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

Issue 7036010: Make GVN side effect analysis more precise. (Closed)

Created:
9 years, 7 months ago by Vitaly Repeshko
Modified:
9 years, 7 months ago
Reviewers:
fschneider
CC:
v8-dev
Visibility:
Public.

Description

Make GVN side effect analysis more precise. When descending the dominator tree we used to collect side effects from all blocks between the dominator and the dominated blocks in the block ordering. This could include blocks that do not appear on paths from the dominator to the dominated and unnecessarily removed available values from the GVN map. Committed: http://code.google.com/p/v8/source/detail?r=7943

Patch Set 1 #

Patch Set 2 : Improve compilation performance #

Total comments: 2

Patch Set 3 : Review fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -24 lines) Patch
M src/hydrogen.h View 1 2 chunks +4 lines, -2 lines 0 comments Download
M src/hydrogen.cc View 1 2 6 chunks +78 lines, -22 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Vitaly Repeshko
9 years, 7 months ago (2011-05-18 08:57:06 UTC) #1
fschneider
9 years, 7 months ago (2011-05-18 16:25:02 UTC) #2
LGTM.

http://codereview.chromium.org/7036010/diff/2001/src/hydrogen.cc
File src/hydrogen.cc (right):

http://codereview.chromium.org/7036010/diff/2001/src/hydrogen.cc#newcode1512
src/hydrogen.cc:1512: 
Remove extra new-line.

http://codereview.chromium.org/7036010/diff/2001/src/hydrogen.cc#newcode1524
src/hydrogen.cc:1524: block->block_id() + 1 < dominated->block_id()) {
Maybe assert that (block->block_id() + 1) is always a direct successor of block.

You skip the first successor here, which is correct. Not sure if it's worth
finding the other successors and skip as well.

Powered by Google App Engine
This is Rietveld 408576698