summaryrefslogtreecommitdiff
path: root/lib/Target/Mips/Mips16HardFloat.cpp
diff options
context:
space:
mode:
authorReed Kotler <rkotler@mips.com>2013-10-08 19:55:01 +0000
committerReed Kotler <rkotler@mips.com>2013-10-08 19:55:01 +0000
commit78f8339f351c95cb6ed739b7e62f01ccc2716144 (patch)
tree7c03a1cc94cebd32e033c37e08383e47f133de7d /lib/Target/Mips/Mips16HardFloat.cpp
parent8199f0bc7722a4d93099cafdb30fa465a2746ce8 (diff)
downloadllvm-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.cpp1
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",