Description[turbofan] Speed up structural graph verification.
This removes the checking for use-def and def-use chain links from the
graph verification. Presence of such links can only be violated by a bug
in the actual {Node} implementation itself. That container class is also
covered by unit tests.
The verification in question was useful in the early days when the graph
implementation itself was prone to bugs. By now it has stabilized and
spending O(n^2) time during graph verification is too wasteful to still
be considered a reasonable trade-off.
R=jarin@chromium.org
TEST=unittests/NodeTest.*
Committed: https://crrev.com/f3ca2142221a1f29be4c43b1fd44840df1318df2
Cr-Commit-Position: refs/heads/master@{#37670}
Patch Set 1 #
Messages
Total messages: 11 (5 generated)
|