X86: support double extension of f16 type.
authorTim Northover <tnorthover@apple.com>
Thu, 17 Jul 2014 11:04:04 +0000 (11:04 +0000)
committerTim Northover <tnorthover@apple.com>
Thu, 17 Jul 2014 11:04:04 +0000 (11:04 +0000)
commit21310448143b3174931530ddf9f993dd93187957
tree46885b52a1e7763e86c10807bdefeeb3bfd7cc63
parent19a29ac0d0fbd5fcbc616a2666a7427a5cd336f9
X86: support double extension of f16 type.

x86 has no native ability to extend an f16 to f64, but the same result
is obtained if we expand it into two separate extensions: f16 -> f32
-> f64.

Unfortunately the same is not true for truncate, so that still results
in a compilation failure.

llvm-svn: 213251
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/cvt16.ll