aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target
diff options
context:
space:
mode:
authorReed Kotler <rkotler@mips.com>2013-08-09 21:33:41 +0000
committerReed Kotler <rkotler@mips.com>2013-08-09 21:33:41 +0000
commit1e07de352947aaf2f9137113cc594d8204da2b77 (patch)
treefff513587872e64414a5d27b6bd5571400d13525 /lib/Target
parent236e389be4bb7f65e78bd378143b67f401f05338 (diff)
downloadexternal_llvm-1e07de352947aaf2f9137113cc594d8204da2b77.zip
external_llvm-1e07de352947aaf2f9137113cc594d8204da2b77.tar.gz
external_llvm-1e07de352947aaf2f9137113cc594d8204da2b77.tar.bz2
Add another intrinsic that LLVM gives an incorrect prototype to.
I need to go through all the runtime routine list and see if there are any more I need to add for mips16 floating point. Prototypes must be correct or else I don't know to add a helper function call. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188106 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r--lib/Target/Mips/Mips16ISelLowering.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/Mips/Mips16ISelLowering.cpp b/lib/Target/Mips/Mips16ISelLowering.cpp
index 6ed1d9e..c8d0a52 100644
--- a/lib/Target/Mips/Mips16ISelLowering.cpp
+++ b/lib/Target/Mips/Mips16ISelLowering.cpp
@@ -90,6 +90,7 @@ static const Mips16Libcall HardFloatLibCalls[] = {
};
static const Mips16IntrinsicHelperType Mips16IntrinsicHelper[] = {
+ {"__fixunsdfsi", "__mips16_call_stub_2" },
{"ceil", "__mips16_call_stub_df_2"},
{"ceilf", "__mips16_call_stub_sf_1"},
{"copysign", "__mips16_call_stub_df_10"},