summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2008-07-11 17:00:14 +0000
committerDuncan Sands <baldrick@free.fr>2008-07-11 17:00:14 +0000
commitac6cecec189ba9689c42543c3106c02b96d788da (patch)
tree09113ff169adb4b8c259362656c76eaa45604b55 /include
parent9bed0f58eb7f5e9e22d062f3880a5fabfdd0dfdd (diff)
downloadllvm-ac6cecec189ba9689c42543c3106c02b96d788da.tar.gz
llvm-ac6cecec189ba9689c42543c3106c02b96d788da.tar.bz2
llvm-ac6cecec189ba9689c42543c3106c02b96d788da.tar.xz
It is pointless to turn a UINT_TO_FP into an
SINT_TO_FP libcall plus additional operations: it might as well be a direct UINT_TO_FP libcall. So only turn it into an SINT_TO_FP if the target has special handling for SINT_TO_FP. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53461 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/RuntimeLibcalls.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/RuntimeLibcalls.h b/include/llvm/CodeGen/RuntimeLibcalls.h
index 36b96e11ff..acbaa1a1ec 100644
--- a/include/llvm/CodeGen/RuntimeLibcalls.h
+++ b/include/llvm/CodeGen/RuntimeLibcalls.h
@@ -137,8 +137,16 @@ namespace RTLIB {
SINTTOFP_I128_PPCF128,
UINTTOFP_I32_F32,
UINTTOFP_I32_F64,
+ UINTTOFP_I32_F80,
+ UINTTOFP_I32_PPCF128,
UINTTOFP_I64_F32,
UINTTOFP_I64_F64,
+ UINTTOFP_I64_F80,
+ UINTTOFP_I64_PPCF128,
+ UINTTOFP_I128_F32,
+ UINTTOFP_I128_F64,
+ UINTTOFP_I128_F80,
+ UINTTOFP_I128_PPCF128,
// COMPARISON
OEQ_F32,