Reland and fix "Fix wide enum names" (#8344) (#8362) (#8365) (#8366)

This commit is contained in:
Marco Bartoli
2026-09-16 17:47:51 -04:00
committed by GitHub
parent 9f66980355
commit 08cadc034d
23 changed files with 910 additions and 158 deletions
+4
View File
@@ -300,6 +300,10 @@ private:
iterateChildren(nodep);
if (m_underPortVar) return;
AstVar* const varp = nodep->varp();
// Reading a generated constant table does not depend on external runtime state.
if (nodep->access().isReadOnly() && varp->isTemp() && varp->isConst()
&& VN_IS(varp->valuep(), InitArray))
return;
if (varp->user4u().toGraphVertex() != m_curVxp) {
if (m_curVxp->pure() && !varp->isXTemp() && !varp->isParam()) m_curVxp->impure(nodep);
}