As part of the more general support for basic constant folding around SIMD types, we should ensure that transforms which exist for scalar code are mirrored for the SIMD scenario as well.
Consider for example vector * 2 which can be translated to vector + vector instead.
As part of the more general support for basic constant folding around SIMD types, we should ensure that transforms which exist for scalar code are mirrored for the SIMD scenario as well.
Consider for example
vector * 2which can be translated tovector + vectorinstead.