When the result is not a vectorType, there is an assert. This patch will do the check and bail when the result is not a VectorType.
When the result is not a vectorType, there is an assert. This patch will do the check and bail when the result is not a VectorType.