This revision was automatically updated to reflect the committed changes.
Closed by commit rL314802: [OpenCL] Fix checking of vector type casting
(authored by yaxunl).
Changed prior to commit:
https://reviews.llvm.org/D38463?vs=117357&id=117524#toc
Repository:
rL LLVM
https://reviews.llvm.o
bader accepted this revision.
bader added a comment.
This revision is now accepted and ready to land.
LGTM.
https://reviews.llvm.org/D38463
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-co
yaxunl created this revision.
Currently clang allows the following code
int a;
int b = (const int) a;
However it does not the following code
int4 a;
int4 b = (const int4) a;
This is because Clang compares the qualified types instead of unqualified types
for vector type casting, which