Fix PR2667: add soft float support for sint_to_fp/uint_to_fp
authorDuncan Sands <baldrick@free.fr>
Mon, 10 Nov 2008 17:36:26 +0000 (17:36 +0000)
committerDuncan Sands <baldrick@free.fr>
Mon, 10 Nov 2008 17:36:26 +0000 (17:36 +0000)
commitf5092245102297e91656e0e471778f0875a8bc66
tree8b79db1b8ff6adc04a272ac558bf83fb246b3a33
parentcff50d9e20d7bbc3acf4845fe826bfb3095126c4
Fix PR2667: add soft float support for sint_to_fp/uint_to_fp
where the argument is an apint, or smaller than the minimum
size for which there is a libcall (i32).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58994 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
lib/CodeGen/SelectionDAG/LegalizeTypes.h
test/CodeGen/Mips/2008-11-10-xint_to_fp.ll [new file with mode: 0644]