[OpenCL Patch] Operator with mixed vector/scalar operands

Hi all,

Attached a short patch that implements Clang support for OpenCL operations where one operand is a vector, and the other one is a scalar.

In this case, the scalar operand should be converted to the Vector’s elements type, and the widened to a vector of the same size as the vector operand.

Please review.



vector_scalar.patch (2.55 KB)