Support bit queue streaming (#5830) (#6103)

This commit is contained in:
Paul Swirhun
2025-07-26 16:53:51 -04:00
committed by GitHub
parent c2e0f496bd
commit d8dbb08a95
15 changed files with 1097 additions and 45 deletions
+3
View File
@@ -1592,6 +1592,9 @@ static VCastable computeCastableImp(const AstNodeDType* toDtp, const AstNodeDTyp
if (VN_IS(fromBaseDtp, EnumDType) && toDtp->sameTree(fromDtp))
return VCastable::ENUM_IMPLICIT;
if (fromNumericable) return VCastable::ENUM_EXPLICIT;
} else if (VN_IS(toDtp, QueueDType)
&& (VN_IS(fromDtp, BasicDType) || VN_IS(fromDtp, StreamDType))) {
return VCastable::COMPATIBLE;
} else if (VN_IS(toDtp, ClassRefDType) && VN_IS(fromConstp, Const)) {
if (fromConstp->isNull()) return VCastable::COMPATIBLE;
} else if (VN_IS(toDtp, ClassRefDType) && VN_IS(fromDtp, ClassRefDType)) {