[PATCH] Driver: Implement -cl-denorms-are-zero

Pekka Jääskeläinen pekka.jaaskelainen at tut.fi
Wed Aug 20 06:55:13 PDT 2014


Hi Tom,

In pocl we just filter the unsupported Clang flags in clBuildProgram.
But it is handy to have a placeholder for these in Clang instead.
So, looks good to me although would look better if it actually did
something :)

On 08/19/2014 08:21 PM, Tom Stellard wrote:
> Hi,
>
> The attached patch adds support for the OpenCL option -cl-denorms-are-zero.
> The spec defines this flag as an optimization hint, and it is up to the
> compiler to decided whether or not to flush denormals.  For now, this flag
> is a no-op.
>
> -Tom


-- 
Pekka



More information about the cfe-commits mailing list