Internals: Four state pre-pull (types) (#7520)

This commit is contained in:
Igor Zaworski
2026-04-30 16:56:15 -04:00
committed by GitHub
parent ec03edcddd
commit 25d4827bd5
18 changed files with 196 additions and 80 deletions
+1 -1
View File
@@ -1592,7 +1592,7 @@ void AstNode::dtypeChgWidthSigned(int width, int widthMin, VSigning numeric) {
&& !VN_IS(dtypep()->skipRefToEnump(), EnumDType))
return; // Correct already
if (AstBasicDType* const basicp = VN_CAST(dtypep(), BasicDType)) {
if (basicp->keyword() == VBasicDTypeKwd::BIT) {
if (!basicp->keyword().isFourstate()) {
dtypeSetBitUnsized(width, widthMin, numeric);
return;
}