mirror of
https://github.com/verilator/verilator.git
synced 2025-01-23 23:04:14 +00:00
Internals: Don't show "Split always" statistics twice. (Split and Reorder were shown). (#3328)
This commit is contained in:
parent
72a3c756ad
commit
32f843a214
@ -254,14 +254,11 @@ protected:
|
|||||||
SplitPliVertex* m_pliVertexp; // Element specifying PLI ordering
|
SplitPliVertex* m_pliVertexp; // Element specifying PLI ordering
|
||||||
V3Graph m_graph; // Scoreboard of var usages/dependencies
|
V3Graph m_graph; // Scoreboard of var usages/dependencies
|
||||||
bool m_inDly; // Inside ASSIGNDLY
|
bool m_inDly; // Inside ASSIGNDLY
|
||||||
VDouble0 m_statSplits; // Statistic tracking
|
|
||||||
|
|
||||||
// CONSTRUCTORS
|
// CONSTRUCTORS
|
||||||
public:
|
public:
|
||||||
SplitReorderBaseVisitor() { scoreboardClear(); }
|
SplitReorderBaseVisitor() { scoreboardClear(); }
|
||||||
virtual ~SplitReorderBaseVisitor() override {
|
virtual ~SplitReorderBaseVisitor() override = default;
|
||||||
V3Stats::addStat("Optimizations, Split always", m_statSplits);
|
|
||||||
}
|
|
||||||
|
|
||||||
// METHODS
|
// METHODS
|
||||||
protected:
|
protected:
|
||||||
@ -820,6 +817,7 @@ private:
|
|||||||
|
|
||||||
// AstNodeIf* whose condition we're currently visiting
|
// AstNodeIf* whose condition we're currently visiting
|
||||||
const AstNode* m_curIfConditional = nullptr;
|
const AstNode* m_curIfConditional = nullptr;
|
||||||
|
VDouble0 m_statSplits; // Statistic tracking
|
||||||
|
|
||||||
// CONSTRUCTORS
|
// CONSTRUCTORS
|
||||||
public:
|
public:
|
||||||
@ -841,7 +839,9 @@ public:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual ~SplitVisitor() override = default;
|
virtual ~SplitVisitor() override {
|
||||||
|
V3Stats::addStat("Optimizations, Split always", m_statSplits);
|
||||||
|
}
|
||||||
|
|
||||||
// METHODS
|
// METHODS
|
||||||
protected:
|
protected:
|
||||||
|
Loading…
Reference in New Issue
Block a user