diff options
| author | Neil Hickey <neil.hickey@arm.com> | 2016-12-13 16:22:50 +0000 |
|---|---|---|
| committer | Neil Hickey <neil.hickey@arm.com> | 2016-12-13 16:22:50 +0000 |
| commit | 88c0fac53432db3b680eb08ff3876492b42915e7 (patch) | |
| tree | c0dbd9a72f59d63a48ee9cf2c36ab1b998043f04 /llvm/lib/Transforms/Utils/MetaRenamer.cpp | |
| parent | 7cdc705b03ece877a0b9753f6b30c83f8acb5178 (diff) | |
| download | bcm5719-llvm-88c0fac53432db3b680eb08ff3876492b42915e7.tar.gz bcm5719-llvm-88c0fac53432db3b680eb08ff3876492b42915e7.zip | |
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/lib/Transforms/Utils/MetaRenamer.cpp')
0 files changed, 0 insertions, 0 deletions

