[cfe-dev] [OpenCL Patch] Operator with mixed vector/scalar operands

Benyei, Guy guy.benyei at intel.com
Tue Jan 10 05:54:12 PST 2012

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.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120110/d2a3331b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 24800 bytes
Desc: image001.png
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120110/d2a3331b/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vector_scalar.patch
Type: application/octet-stream
Size: 2615 bytes
Desc: vector_scalar.patch
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120110/d2a3331b/attachment.obj>
-------------- next part --------------
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

More information about the cfe-dev mailing list