R600: support f16 -> f64 conversion intrinsic.
authorTim Northover <tnorthover@apple.com>
Fri, 18 Jul 2014 08:43:24 +0000 (08:43 +0000)
committerTim Northover <tnorthover@apple.com>
Fri, 18 Jul 2014 08:43:24 +0000 (08:43 +0000)
commitf861de3d7bea208aa7c2dbf8c095735d9fa38b2e
treeacfd2d9bd8285fb942b41faa470a8d2832867ff0
parent5e54fe14a4c808749751a6c287e5f3847963e159
R600: support f16 -> f64 conversion intrinsic.

Unfortunately, we don't seem to have a direct truncation, but the
extension can be legally split into two operations so we should
support that.

llvm-svn: 213357
llvm/lib/Target/R600/AMDGPUISelLowering.cpp
llvm/test/CodeGen/R600/fp16_to_fp.ll [moved from llvm/test/CodeGen/R600/fp32_to_fp16.ll with 50% similarity]