Fix bad assertion in DFG variable elimination

Fixes #4943
This commit is contained in:
Geza Lore
2024-03-05 18:51:46 +00:00
parent 97db128d66
commit 3a1355fb54
4 changed files with 54 additions and 25 deletions
+1 -1
View File
@@ -240,7 +240,7 @@ void V3DfgOptimizer::optimize(AstNetlist* netlistp, const string& label) {
UINFO(2, __FUNCTION__ << ": " << endl);
// NODE STATE
// AstVar::user1 -> Used by V3DfgPasses::astToDfg
// AstVar::user1 -> Used by V3DfgPasses::astToDfg, V3DfgPasses::eliminateVars
// AstVar::user2 -> bool: Flag indicating referenced by AstVarXRef (set just below)
// AstVar::user3 -> bool: Flag indicating written by logic not representable as DFG
// (set by V3DfgPasses::astToDfg)