Hi,
Currently vector select, such as a < b ? a : c type, is not enabled in
clang
for C/C++ code. When I try to compile, clang will give error message. By
reading
the code, vector select is only supported for OpenCL. I have made a patch in
clang to
support vector select for C/C++ code.
I have tested for ARM. Everything works fine so far. So I limit the
parsing for arm
architecture only. Could anybody review this change. Thanks.
I attached the diff file and a sample test case I wrote with this email.
Thanks,
Yin
vector_select.diff
Description: Binary data
vector_select_validation.c
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
