From 9c1cc5465de8c346d1ee847d0785fafd45c7a43d Mon Sep 17 00:00:00 2001 From: Geza Lore Date: Mon, 26 Sep 2022 18:31:12 +0100 Subject: [PATCH] DFG: Support packed structure and union types --- src/V3Dfg.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/V3Dfg.h b/src/V3Dfg.h index 94fcac4ed..c0c55e5df 100644 --- a/src/V3Dfg.h +++ b/src/V3Dfg.h @@ -228,6 +228,9 @@ public: if (const AstPackArrayDType* const typep = VN_CAST(dtypep, PackArrayDType)) { return isSupportedDType(typep->subDTypep()); } + if (const AstNodeUOrStructDType* const typep = VN_CAST(dtypep, NodeUOrStructDType)) { + return typep->packed(); + } return false; }