ARM: __gnu_h2f_ieee and __gnu_f2h_ieee always use the soft-float calling convention
authorOliver Stannard <oliver.stannard@arm.com>
Mon, 11 Aug 2014 09:12:32 +0000 (09:12 +0000)
committerOliver Stannard <oliver.stannard@arm.com>
Mon, 11 Aug 2014 09:12:32 +0000 (09:12 +0000)
commit17ef00ea94e77930f31a8223f1b37d57eac1153a
tree4e5b3a6ef85a732aa00c0fe7ac535122ee61bcfa
parent0679d2d0a45ba1eec6831adc6afa3c46a7ae9a9a
ARM: __gnu_h2f_ieee and __gnu_f2h_ieee always use the soft-float calling convention

By default, LLVM uses the "C" calling convention for all runtime
library functions. The half-precision FP conversion functions use the
soft-float calling convention, and are needed for some targets which
use the hard-float convention by default, so must have their calling
convention explicitly set.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215348 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMISelLowering.cpp
test/CodeGen/ARM/fp16.ll