Modify all the builtin function vect return to (vect_name)(e1, e2, e3)
authorJunyan He <junyan.he@linux.intel.com>
Wed, 3 Jul 2013 04:41:17 +0000 (12:41 +0800)
committerZhigang Gong <zhigang.gong@linux.intel.com>
Wed, 3 Jul 2013 10:20:36 +0000 (18:20 +0800)
commit30a2e5c5cca63c9ee87bc395dea4cddac985e0ee
tree150bee2f94d3f9cd51d8b466ca73ed0524e545ad
parent42b00395bfe988109a6b91029d3c73cd7330ef0c
Modify all the builtin function vect return to (vect_name)(e1, e2, e3)

Some builtin functions has the prototype like:
int3 function_name (int3 x) { return (x.s0, x.s1, x.s2);}
which not comply with CL spec and will cause the clang IR
be translated error.
The vector declare should be (vect)(e1, e2, e3)

Signed-off-by: Junyan He <junyan.he@linux.intel.com>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
backend/src/ocl_stdlib.h