summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit339c7410467af48b6620be15e988e73585b54f84 (patch)
treefdcc203ad9e070c8c8a0e6a1508216239eaec3fb /llvm/lib/Target/Mips/Mips16HardFloat.cpp
parent0ec313e9ec573bc3c8e6d2bfd5e63762da500ad9 (diff)
downloadbcm5719-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.cpp1
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",
OpenPOWER on IntegriCloud