Internals: Fix redundant edges in V3Trace (#5939). No functional change intended..
Signed-off-by: Ryszard Rozak <rrozak@antmicro.com>
This commit is contained in:
parent
3ecd58460f
commit
cbabd8abe1
|
|
@ -755,6 +755,7 @@ class TraceVisitor final : public VNVisitor {
|
||||||
void createTraceFunctions() {
|
void createTraceFunctions() {
|
||||||
// Detect and remove duplicate values
|
// Detect and remove duplicate values
|
||||||
detectDuplicates();
|
detectDuplicates();
|
||||||
|
m_graph.removeRedundantEdgesMax(&V3GraphEdge::followAlwaysTrue);
|
||||||
|
|
||||||
// Simplify & optimize the graph
|
// Simplify & optimize the graph
|
||||||
if (dumpGraphLevel() >= 6) m_graph.dumpDotFilePrefixed("trace_pre");
|
if (dumpGraphLevel() >= 6) m_graph.dumpDotFilePrefixed("trace_pre");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue