hanchenye-llvm-project/clang/test/SemaOpenCL
Tanya Lattner 49b3841398 The comparison of two vectors should return a signed result. hasIntegerRepresentation() used to always return false for vectors, but since it was changed, it also
changed the return type of a compare of two unsigned vectors to be unsigned. This patch removes the check for hasIntegerRepresentation since its not needed and returns the appropriate signed type.
I added a new test case and updated exisiting test cases that assumed an unsigned result.

llvm-svn: 142250
2011-10-17 21:00:38 +00:00
..
cond.cl
extension-fp64.cl OpenCL: if double precision floating point constant encountered 2011-03-11 19:24:59 +00:00
init.cl
local.cl OpenCL: introduce support for function scope __local variables 2011-09-19 21:14:35 +00:00
vec_compare.cl The comparison of two vectors should return a signed result. hasIntegerRepresentation() used to always return false for vectors, but since it was changed, it also 2011-10-17 21:00:38 +00:00
vec_step.cl Add support for the OpenCL vec_step operator, by generalising and 2011-03-11 19:24:49 +00:00
vector_conv_invalid.cl In OpenCL, conversions between different vector types are disallowed 2011-09-22 13:03:14 +00:00
vector_literals_invalid.cl In the OpenCL mode, the AltiVec mode must be off and checks must be strict 2011-09-21 18:28:29 +00:00