[cfe-commits] [PATCH][Review place] A Patch to Enable Vector Select for general computing

Yin Ma yinma at codeaurora.org
Mon Aug 13 17:55:10 PDT 2012


Hi,

 

So far vector select, such as  a < b ? a : c is  not enabled in clang for
C/C++ code.

It only enabled for OpenCL. I have made a very small change in clang to
enable

Vector select. I have tested for ARM.  Everything works fine so far. 

   The file attached enables vector select for general computing. Please
give 

A review.

 

Thanks,

 

               Yin 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120813/59d062e9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vector_select.diff
Type: application/octet-stream
Size: 3094 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120813/59d062e9/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vector_select_validation.c
Type: application/octet-stream
Size: 4208 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120813/59d062e9/attachment-0001.obj>


More information about the cfe-commits mailing list