diff options
author | Reed Kotler <rkotler@mips.com> | 2013-10-08 19:55:01 +0000 |
---|---|---|
committer | Reed Kotler <rkotler@mips.com> | 2013-10-08 19:55:01 +0000 |
commit | 339c7410467af48b6620be15e988e73585b54f84 (patch) | |
tree | fdcc203ad9e070c8c8a0e6a1508216239eaec3fb /llvm/lib/Target/Mips/Mips16HardFloat.cpp | |
parent | 0ec313e9ec573bc3c8e6d2bfd5e63762da500ad9 (diff) | |
download | bcm5719-llvm-339c7410467af48b6620be15e988e73585b54f84.tar.gz bcm5719-llvm-339c7410467af48b6620be15e988e73585b54f84.zip |
Add fabsf to the list of inlined functions; otherwise
Mips16 will try and create a stub for it and this will
result in a link error because that function does not exist in libc.
llvm-svn: 192223
Diffstat (limited to 'llvm/lib/Target/Mips/Mips16HardFloat.cpp')
-rw-r--r-- | llvm/lib/Target/Mips/Mips16HardFloat.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/Mips/Mips16HardFloat.cpp b/llvm/lib/Target/Mips/Mips16HardFloat.cpp index 4d728bdfc69..81bf18cd09d 100644 --- a/llvm/lib/Target/Mips/Mips16HardFloat.cpp +++ b/llvm/lib/Target/Mips/Mips16HardFloat.cpp @@ -326,6 +326,7 @@ static void assureFPCallStub(Function &F, Module *M, // static const char *IntrinsicInline[] = {"fabs", + "fabsf", "llvm.ceil.f32", "llvm.ceil.f64", "llvm.copysign.f32", "llvm.copysign.f64", "llvm.cos.f32", "llvm.cos.f64", |