Casting scalars to vectors

This stops the error, but is it enough?

Sorry, I couldn't understand from the thread what was the error?

- if (SemaRef.getLangOptions().OpenCL ||

SemaRef.getLangOptions().AltiVec)

+ if (SemaRef.getLangOptions().OpenCL)

In other words, it's something that's not required for AltiVec but is
required for OpenCL?

Cheers,
Anton.