Hi All,

 

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. 

I am wondering if the vector select could also be enabled in clang main
line? 

Any advice?

   I attached the diff file and a test case I wrote with this email. 

 

Thanks,

 

                                                 Yin 

Attachment: vector_select_validation.c
Description: Binary data

Attachment: vectorselect.diff
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to