Internals: Move CReset under Assign (#6978)

This commit is contained in:
Wilson Snyder
2026-01-31 21:27:36 -05:00
committed by GitHub
parent d9234501e0
commit 07ce0ac2ea
11 changed files with 1042 additions and 1004 deletions
+1
View File
@@ -241,6 +241,7 @@ class SliceVisitor final : public VNVisitor {
const AstUnpackArrayDType* const arrayp = VN_CAST(dtp, UnpackArrayDType);
if (!arrayp) return false;
if (VN_IS(stp, CvtPackedToArray)) return false;
if (VN_IS(stp, CReset)) return false;
// Any isSc variables must be expanded regardless of --fno-slice
const bool hasSc