[OPENCL][PATCH] conditional operator when the condition is a vector
Pekka Jääskeläinen
pekka.jaaskelainen at tut.fi
Mon Feb 2 05:46:26 PST 2015
Hi Sameer,
OK with the other issues.
On 02/02/2015 10:52 AM, Sameer Sahasrabuddhe wrote:
> I do not have a strong opinion on which one is more suitable/useful in
> an error message. If we really want OpenCL names, then perhaps we can
> put implicit typedefs for all OpenCL vector types in Sema::Initialize().
> Then we could provide a way to retrieve them as QualTypes instead of
> creating them on the fly.
I wonder why we could not do this? At least could have the typedefs
defined by default there, while allowing overriding them with target-
specific typedefs, if needed.
--
--Pekka
More information about the cfe-commits
mailing list