Internals: Only add VAR_PORT_DTYPE prior to V3Width (#7331)

This commit is contained in:
Geza Lore
2026-03-26 13:44:11 -04:00
committed by GitHub
parent 37a316f0f8
commit e5adb60461
+1 -1
View File
@@ -1912,7 +1912,7 @@ class LinkDotFindVisitor final : public VNVisitor {
// dtype comes from the other side.
VL_DO_DANGLING(varDtp->unlinkFrBack()->deleteTree(), varDtp);
findvarp->childDTypep(otherDtp->unlinkFrBack());
} else if (otherDtp && varDtp
} else if (m_statep->forPrearray() && otherDtp && varDtp
&& !(VN_IS(otherDtp, BasicDType)
&& VN_AS(otherDtp, BasicDType)->implicit())) {
// otherDtp and varDtp both non-nullptr and neither are implicit