Return when array is too big

Signed-off-by: Ryszard Rozak <rrozak@antmicro.com>
This commit is contained in:
Ryszard Rozak 2026-02-19 13:12:39 +01:00
parent ea3bcdfb0c
commit 3d4ccc628c
1 changed files with 1 additions and 0 deletions

View File

@ -295,6 +295,7 @@ private:
varp->v3warn(E_UNSUPPORTED, "Unsupported: Force of variable with "
">= "
<< ELEMENTS_MAX << " unpacked elements");
return dtypep;
}
if (AstNodeArrayDType* const arrp = VN_CAST(origDTypep, NodeArrayDType)) {
AstNodeDType* const subDTypep = arrp->subDTypep();