]> granicus.if.org Git - clang/commit
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)
commitc0e5675adf80f12c76eb797de246aa486bc3b0eb
tree3c3dc192b512c53e888c24163155ad6f912a754c
parentfcb405e780f438e02788a4c5f7682d7ab24678d9
Improve handling of floating point literals in OpenCL to only use double precision if the target supports fp64

https://reviews.llvm.org/D24235

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@281714 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExpr.cpp
lib/Sema/SemaType.cpp
test/CodeGenOpenCL/fpmath.cl
test/SemaOpenCL/extensions.cl