[ConstantFold] Avoid creating undesirable cast expressions
Similar to what we do for binops, for undesirable casts we should call the constant folding API instead of the constant expr API, to avoid indirect creation of undesirable cast ops.
Loading
Please sign in to comment