ARM: fix @llvm.convert.from.fp16 on softfloat targets.
authorTim Northover <tnorthover@apple.com>
Tue, 29 Jul 2014 09:56:38 +0000 (09:56 +0000)
committerTim Northover <tnorthover@apple.com>
Tue, 29 Jul 2014 09:56:38 +0000 (09:56 +0000)
commitf67bb2079d8bc4e98c436cee5e4e55050e263c03
tree4a9ee886eaad19f082c2c32161e27031d62e1e2a
parent48df870d11cf5c96553ce5bb31a28d73d393f0c3
ARM: fix @llvm.convert.from.fp16 on softfloat targets.

We need to make sure we use the softened version of all appropriate operands in
the libcall, or things go horribly wrong. This may entail actually executing a
1-stage softening.

llvm-svn: 214175
llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
llvm/test/CodeGen/ARM/fp16.ll