|
Implement graph trimming in ControlReducer.
Trimming the graph consists of breaking links from nodes that are not reachable from end to nodes that are reachable from end. Such dead nodes show up in the use lists of the live nodes and though mostly harmless, just clutter up the graph. They also can limit instruction selection opportunities, so it is good to get rid of them.
This CL is one half of the ControlReducer functionality, the other half
being branch folding.
R=bmeurer@chromium.org
BUG=
Committed: https://code.google.com/p/v8/source/detail?r=24694
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+871 lines, -0 lines) |
Patch |
|
M |
BUILD.gn
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
A |
src/compiler/control-reducer.h
|
View
|
|
1 chunk |
+27 lines, -0 lines |
0 comments
|
Download
|
|
A |
src/compiler/control-reducer.cc
|
View
|
1
2
|
1 chunk |
+122 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/pipeline.cc
|
View
|
1
2
|
2 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
|
M |
test/cctest/cctest.gyp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
test/cctest/cctest.status
|
View
|
1
2
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/cctest/compiler/test-control-reducer.cc
|
View
|
|
1 chunk |
+242 lines, -0 lines |
0 comments
|
Download
|
|
M |
test/cctest/compiler/test-run-jsbranches.cc
|
View
|
1
2
|
1 chunk |
+75 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/mjsunit/asm/do-while-false.js
|
View
|
|
1 chunk |
+78 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/mjsunit/asm/if-folding.js
|
View
|
|
1 chunk |
+100 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/mjsunit/asm/if-reduction.js
|
View
|
|
1 chunk |
+111 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/mjsunit/asm/infinite-loops.js
|
View
|
|
1 chunk |
+53 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/mjsunit/asm/infinite-loops-taken.js
|
View
|
|
1 chunk |
+41 lines, -0 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/mjsunit.status
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
tools/gyp/v8.gyp
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
Total messages: 5 (0 generated)
|