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

This commit is contained in:
Geza Lore 2026-03-26 17:44:11 +00:00 committed by GitHub
parent 37a316f0f8
commit e5adb60461
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

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