Convert an expression to svex, and return its datatype.
(vl-expr-to-svex-untyped x ss scopes) → (mv vttree svex type size)
In some cases we need to convert an expression and also check what type it is returning. For example, if the expression is the port connection of an instance array, we know the type of a single port but we don't know whether all instances' ports are receiving the whole expression, or whether the bits of the expression are being distributed across the instances. To determine that, we need to get the type of the expression.
We shouldn't care about the signedness of the return type here; when we only know the size of a vector expression, we just return a unsigned packed logic vector.