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 | 78f8339f351c95cb6ed739b7e62f01ccc2716144 (patch) | |
tree | 7c03a1cc94cebd32e033c37e08383e47f133de7d /lib/Target/Mips/Mips16HardFloat.cpp | |
parent | 8199f0bc7722a4d93099cafdb30fa465a2746ce8 (diff) | |
download | llvm-78f8339f351c95cb6ed739b7e62f01ccc2716144.tar.gz llvm-78f8339f351c95cb6ed739b7e62f01ccc2716144.tar.bz2 llvm-78f8339f351c95cb6ed739b7e62f01ccc2716144.tar.xz |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192223 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/Mips16HardFloat.cpp')
-rw-r--r-- | lib/Target/Mips/Mips16HardFloat.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/Mips/Mips16HardFloat.cpp b/lib/Target/Mips/Mips16HardFloat.cpp index 4d728bdfc6..81bf18cd09 100644 --- a/lib/Target/Mips/Mips16HardFloat.cpp +++ b/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", |