Improve handling of floating point literals in OpenCL to only use double precision...
authorNeil Hickey <neil.hickey@arm.com>
Fri, 16 Sep 2016 10:15:06 +0000 (10:15 +0000)
committerNeil Hickey <neil.hickey@arm.com>
Fri, 16 Sep 2016 10:15:06 +0000 (10:15 +0000)
commitddfb093b72dd7ba2dbefea73bfb89e98ed70643d
tree0221bc9745db50f72c119c14c01e49ca2bf4fe2f
parentd7f2a35cac9bded28180dab6394b052983d23dab
Improve handling of floating point literals in OpenCL to only use double precision if the target supports fp64

https://reviews.llvm.org/D24235

llvm-svn: 281714
clang/lib/Sema/SemaExpr.cpp
clang/lib/Sema/SemaType.cpp
clang/test/CodeGenOpenCL/fpmath.cl
clang/test/SemaOpenCL/extensions.cl