NVPTX: support direct f16 <-> f64 conversions via intrinsics.
authorTim Northover <tnorthover@apple.com>
Fri, 18 Jul 2014 08:30:10 +0000 (08:30 +0000)
committerTim Northover <tnorthover@apple.com>
Fri, 18 Jul 2014 08:30:10 +0000 (08:30 +0000)
commit5e54fe14a4c808749751a6c287e5f3847963e159
tree6f1841f85106a14d9e6a77dad4573b46420d94fb
parent68446b72530b7b8badf295a350de43265dbec06a
NVPTX: support direct f16 <-> f64 conversions via intrinsics.

Clang may well start emitting these soon, and while it may not be
directly relevant for OpenCL or GLSL, the instructions were just
sitting there waiting to be used.

llvm-svn: 213356
llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
llvm/test/CodeGen/NVPTX/fp16.ll [new file with mode: 0644]