Fix OpenCL C for 32bit targets without 64bit doubles
pekka.jaaskelainen at tut.fi
Tue Dec 17 02:13:01 PST 2013
The attached patch ensures we do not override target's setting for
double with OpenCL C in case it is set to be the same as FloatWidth.
This can happen with 32bit targets (currently at least TCE in LLVM)
that define double as float, and thus might support only the
OpenCL EP or just do not support the fp64 extension of OpenCL.
Good to commit?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1124 bytes
Desc: not available
More information about the llvm-commits