mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Internals: Fix redundant edges in V3Trace (#5939). No functional change intended..
Signed-off-by: Ryszard Rozak <[email protected]>
This commit is contained in:
@@ -755,6 +755,7 @@ class TraceVisitor final : public VNVisitor {
|
||||
void createTraceFunctions() {
|
||||
// Detect and remove duplicate values
|
||||
detectDuplicates();
|
||||
m_graph.removeRedundantEdgesMax(&V3GraphEdge::followAlwaysTrue);
|
||||
|
||||
// Simplify & optimize the graph
|
||||
if (dumpGraphLevel() >= 6) m_graph.dumpDotFilePrefixed("trace_pre");
|
||||
|
||||
Reference in New Issue
Block a user