|
[turbofan] Check node input/use consistency for changed operators and new nodes.
Verifies consistency of node inputs and uses:
- node inputs should agree with the input count computed from the node's operator.
- effect inputs should have effect outputs (or be a sentinel).
- control inputs should have control outputs (or be a sentinel).
- frame state inputs should be frame states (or be a sentinel).
- if the node has control uses, it should produce control.
- if the node has effect uses, it should produce effect.
- if the node has frame state uses, it must be a frame state.
I also removed some tests, either because they did not seem to be useful (scheduler) or they tested dead functionality (diamond effect phi).
Committed: https://crrev.com/1c2867c0dac589300817f430bf13a84eba4e8c07
Cr-Commit-Position: refs/heads/master@{#30927}
Total comments: 2
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+101 lines, -90 lines) |
Patch |
|
M |
src/compiler/diamond.h
|
View
|
1
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/compiler/graph.cc
|
View
|
|
2 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/compiler/js-intrinsic-lowering.cc
|
View
|
|
4 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/compiler/js-typed-lowering.cc
|
View
|
1
|
4 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/compiler/node-properties.h
|
View
|
1
2
3
4
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/node-properties.cc
|
View
|
1
2
3
4
|
2 chunks |
+49 lines, -1 line |
0 comments
|
Download
|
|
M |
src/compiler/select-lowering.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
test/cctest/compiler/test-loop-analysis.cc
|
View
|
|
4 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
|
M |
test/cctest/compiler/test-machine-operator-reducer.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
test/cctest/compiler/test-osr.cc
|
View
|
|
3 chunks |
+10 lines, -16 lines |
0 comments
|
Download
|
|
M |
test/unittests/compiler/control-equivalence-unittest.cc
|
View
|
1
2
3
|
2 chunks |
+7 lines, -3 lines |
0 comments
|
Download
|
|
M |
test/unittests/compiler/diamond-unittest.cc
|
View
|
|
1 chunk |
+0 lines, -16 lines |
0 comments
|
Download
|
|
M |
test/unittests/compiler/loop-peeling-unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
test/unittests/compiler/scheduler-unittest.cc
|
View
|
|
2 chunks |
+1 line, -26 lines |
0 comments
|
Download
|
|
M |
test/unittests/compiler/value-numbering-reducer-unittest.cc
|
View
|
1
2
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
Total messages: 11 (3 generated)
|