[PATCH] D20602: Add .rgba syntax extension to ext_vector_type types
Pirama Arumuga Nainar via cfe-commits
cfe-commits at lists.llvm.org
Wed May 25 15:32:17 PDT 2016
pirama added a comment.
> > > I'm not suggesting it be treated as invalid. This extension is part of at least OpenCL 2.1, but it's not part of OpenCL 1.0. `ext_vector_type` is Clang's implementation of the OpenCL vector type. Therefore if the user asks us to support OpenCL 1.0, we should give them a warning if they use this syntax.
>
> >
>
>
>
>
> - use of ext_vector_type in OpenCL 1.0 and earlier.
Looks like OpenCL 1.0 also has vector data types (Section 6.1.2 https://www.khronos.org/registry/cl/specs/opencl-1.0.pdf). So, I don't think it is necessary to emit warnings for ext_vector_types at all.
http://reviews.llvm.org/D20602
More information about the cfe-commits
mailing list