aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/ADT/StringRefTest.cpp
diff options
context:
space:
mode:
authorNeil Hickey <neil.hickey@arm.com>2016-12-13 16:22:50 +0000
committerNeil Hickey <neil.hickey@arm.com>2016-12-13 16:22:50 +0000
commit88c0fac53432db3b680eb08ff3876492b42915e7 (patch)
treec0dbd9a72f59d63a48ee9cf2c36ab1b998043f04 /llvm/unittests/ADT/StringRefTest.cpp
parent7cdc705b03ece877a0b9753f6b30c83f8acb5178 (diff)
downloadllvm-88c0fac53432db3b680eb08ff3876492b42915e7.zip
llvm-88c0fac53432db3b680eb08ff3876492b42915e7.tar.gz
llvm-88c0fac53432db3b680eb08ff3876492b42915e7.tar.bz2
Improve handling of floating point literals in OpenCL to only use double precision if the target supports fp64.
This change makes sure single-precision floating point types are used if the cl_fp64 extension is not supported by the target. Also removed the check to see whether the OpenCL version is >= 1.2, as this has been incorporated into the extension setting code. Differential Revision: https://reviews.llvm.org/D24235 llvm-svn: 289544
Diffstat (limited to 'llvm/unittests/ADT/StringRefTest.cpp')
0 files changed, 0 insertions, 0 deletions