[cfe-dev] is opencl-style select function supported?

Douglas Gregor dgregor at apple.com
Mon Sep 20 07:40:08 PDT 2010


On Sep 19, 2010, at 3:41 PM, Jochen Wilhelmy wrote:

> hi!
> 
> does clang support the opencl-style select function on vectors?
> this would mean that it generates the vectorized llvm select instruction.

Are you referring to the OpenCL "vec.xyzw" syntax? If so, it's implemented in Clang and is represented by ExtVectorElementExpr.

	- Doug



More information about the cfe-dev mailing list